scientific-0.3.7.0: Numbers represented using scientific notation
Safe Haskell Safe
Language Haskell2010

Data.ByteString.Builder.Scientific

Synopsis

Documentation

scientificBuilder :: Scientific -> Builder Source #

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.

formatScientificBuilder Source #

Arguments

:: FPFormat
-> Maybe Int

Number of decimal places to render.

-> Scientific
-> Builder

Like scientificBuilder but provides rendering options.