The JavaScript floor() method rounds a number DOWNWARDS to the nearest integer, and returns the result
var MyInt = Math.floor(x)
The JavaScript floor() method rounds a number DOWNWARDS to the nearest integer, and returns the result
var MyInt = Math.floor(x)
Ben Van Johnson
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks