scientific-0.3.6.2: Numbers represented using scientific notation
Safe HaskellNone
LanguageHaskell2010

Data.Text.Lazy.Builder.Scientific

Synopsis

Documentation

scientificBuilder :: Scientific -> Builder #

A Text 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 #

Arguments

:: FPFormat 
-> Maybe Int

Number of decimal places to render.

-> Scientific 
-> Builder 

Like scientificBuilder but provides rendering options.

data FPFormat #

Constructors

Exponent 
Fixed 
Generic 

Instances

Instances details
Enum FPFormat 
Instance details

Defined in Data.Text.Lazy.Builder.RealFloat

Read FPFormat 
Instance details

Defined in Data.Text.Lazy.Builder.RealFloat

Methods

readsPrec :: Int -> ReadS FPFormat

readList :: ReadS [FPFormat]

readPrec :: ReadPrec FPFormat

readListPrec :: ReadPrec [FPFormat]

Show FPFormat 
Instance details

Defined in Data.Text.Lazy.Builder.RealFloat

Methods

showsPrec :: Int -> FPFormat -> ShowS

show :: FPFormat -> String

showList :: [FPFormat] -> ShowS