formatting.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:formatting


Words

Primitives
WordStack effect
(format-float)( n fill width precision format locale -- byte-array )


Ordinary words
WordStack effect
>date( timestamp -- string )
>datetime( timestamp -- string )
>digits( string -- digits )
>time( timestamp -- string )
fix-sign( string -- string )
format-decimal( x digits -- string )
format-decimal-simple( x digits -- string )
format-directive( input -- ast )
format-fast-decimal?( x digits -- x' digits ? )
format-fast-scientific?( x digits -- x' digits ? )
format-float( n fill width precision format locale -- string )
format-float-fast( x digits string -- string )
format-scientific( x digits -- string )
format-scientific-exponent( rounded-up? log10x -- string )
format-scientific-mantissa( x log10x digits -- string rounded-up? )
format-scientific-simple( x digits -- string )
pad-00( n -- string )
pad-000( n -- string )
pad-null( format -- format )
parse-printf( input -- ast )
parse-strftime( input -- ast )
printf-quot( format-string -- format-quot n )
week-of-year( timestamp day -- n )
week-of-year-monday( timestamp -- n )
week-of-year-sunday( timestamp -- n )


Files