Formats an integer as a fixed-point decimal string.
It treats the input integer n as if it were multiplied by 10**fractions.
Useful for formatting currency or other fixed-point values stored as integers.
Parameters
n: number
The integer value to format.
fractions: number
The number of decimal places.
Returns string
A string representation of the fixed-point number.
Formats an integer as a fixed-point decimal string.
It treats the input integer
nas if it were multiplied by10**fractions. Useful for formatting currency or other fixed-point values stored as integers.