'toFixed()' Syntax Parameters and Note : toFixed « Javascript Methods « JavaScript Reference

'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

1.'toFixed()' Example
2.'toFixed()' is applied to