Control the rendering of floating point numbers.
Modulererebase-1.21.2Haskell2010
Data.ByteString.Builder.Scientific
- 1 type
- 2 values
- Packagererebase-1.21.2
- Exports3
- LanguageHaskell2010
- LicenceMIT
- SourceRealFloat.hs
value
formatScientificBuilder :: FPFormat-> Maybe IntNumber of decimal places to render.
-> Scientific-> Builder
Like scientificBuilder but provides rendering options.
A ByteString Builder which renders a scientific number to full
precision, using standard decimal notation for arguments whose
absolute value lies between 0.1 and 9,999,999, and scientific
notation otherwise.