javascript Math round( )

round( ) NN 2 IE 3 ECMA 1  

round(number)

  

Returns an integer that follows rounding rules. If the value of the passed parameter is greater than or equal to x.5, the returned value is x + 1; otherwise, the returned value is x.

 
Parameters
 
  • Any number.
 
Returned Value

Integer.


1264,Nickname,Homepage or email,Comments here,Add comment