Worker type providing to string conversions for floats.
primitive val _FormatFloat
new val create() : _FormatFloat val^
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^
fun box eq( that: _FormatFloat val) : Bool val
fun box ne( that: _FormatFloat val) : Bool val
© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/format-_FormatFloat