Update Math.round in es5.d.ts (#33920)

Update documentation of Math.round to reflect that it turns a float in to an integer and returns an integer.
This commit is contained in:
Martin authored and Ryan Cavanaugh committed 2019-10-14 10:55:55 -07:00
1 parent c2f2ac1d0b
commit b7c85c7382
1 file changed
+2 -2
+2 -2
View File
@@ -682,8 +682,8 @@ interface Math {
/** Returns a pseudorandom number between 0 and 1. */
random(): number;
/**
* Returns a supplied numeric expression rounded to the nearest number.
* @param x The value to be rounded to the nearest number.
* Returns a supplied numeric expression rounded to the nearest integer.
* @param x The value to be rounded to the nearest integer.
*/
round(x: number): number;
/**