W3cubDocs

/Pony

_FormatFloat

[Source]

Worker type providing to string conversions for floats.

primitive val _FormatFloat

Constructors

create

[Source]

new val create()
: _FormatFloat val^

Returns

Public Functions

f64

[Source]

fun box f64(
  x: F64 val,
  fmt: (FormatDefault val | FormatExp val | FormatExpLarge val | 
    FormatFix val | FormatFixLarge val | FormatGeneral val | 
    FormatGeneralLarge val) = reference,
  prefix: (PrefixDefault val | PrefixSpace val | PrefixSign val) = reference,
  prec: USize val = 6,
  width: USize val = 0,
  align: (AlignLeft val | AlignRight val | AlignCenter val) = reference,
  fill: U32 val = 32)
: String iso^

Parameters

Returns

eq

[Source]

fun box eq(
  that: _FormatFloat val)
: Bool val

Parameters

Returns

ne

[Source]

fun box ne(
  that: _FormatFloat val)
: Bool val

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/format-_FormatFloat