DecimalFormat
Converts a number to a decimal-formatted string.
Method Signature
Arguments
Argument
Type
Required
Description
Default
number
any
true
The number to convert to decimal format.
length
integer
false
The number of decimal places to include in the formatted string.
2
Examples
Related
Last updated