contents   index   previous   next



Number toFixed()

syntax:

number.toFixed(fractionDigits)

where:

fractionDigits - the digits after the decimal point.

 

return:

string - A string representation of this number in fixed-point notation.

 

description:

This method returns a string containing the number represented in fixed-point notation with fractionDigits digits after the decimal point.

 

 


Number toLocaleString()