Module
Text.Format
- Package
- purescript-format
- Repository
- sharkdp/purescript-format
A module to format strings and numbers in a way similar to printf
in
C-style languages.
#width Source
width :: Int -> Properties
The minium width of the output.
#zeroFill Source
zeroFill :: Properties
Fill the free space with zeros instead of spaces.
#signed Source
signed :: Properties
Explicitely show a '+' sign for positive numbers. Gets ignored for non-numeric types.
#precision Source
precision :: Int -> Properties
Number of decimal places. Gets ignored for non-numeric types.
#decimalMark Source
decimalMark :: Char -> Properties
Delimiter character. Gets ignored for non-numeric types.
- Modules
- Text.
Format