<< echo | Display format | formattedDisplayText >> |
fmt = format() |
format() |
format('default') |
format(new_style) |
a string
DisplayFormatOptions object: format used
format(new_style) changes the display format and number printing of the current session.
format('default') will reset to default format (short, loose).
Styles supported:
short
long
shortE
longE
shortEng
longEng
plus
rational
hex
Line Spacing Format supported:
loose
compact
an example
current_style = format()
pi
format('short')
pi
format('long')
pi
format('shortE')
pi
format('longE')
pi
format('hex')
pi
format('+')
pi
format('rational')
pi
format('compact')
pi
format(current_style)
pi
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET