'toFixed()' Syntax Parameters and Note : toFixed « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- toFixed
'toFixed()' Syntax Parameters and Note
Note:
Rounds the Number to the specified number of decimal places.
Syntax:
numberName.toFixed(param1)
Parameters:
param1 Required; the number of decimal places.
Related examples in the same category