Mega Code Archive
Categories
/
JavaScript Reference
/
Javascript Methods
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.