See Also Applies To
Description
Rounds a supplied numeric expression to the nearest integer.
Syntax
Math.round(number)
The number argument is the value to be rounded to the nearest integer.
Remarks
If the decimal portion of number is 0.5 or greater, the return value is equal to the smallest integer greater than number. Otherwise, round returns the largest integer less than or equal to number.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js492.htm,
2KB, , updated: 2008年1月31日 23:49, local time: 2025年9月5日 12:51,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/inet/iis/jscript/htm/js492.htm"> round Method</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.