sness
blog of sness
Wednesday, July 20, 2011
syntax - How do I convert a float to an int in Javascript? - Stack Overflow
syntax - How do I convert a float to an int in Javascript? - Stack Overflow
: "var intvalue = Math.floor( floatvalue );
var intvalue = Math.ceil( floatvalue );
var intvalue = Math.round( floatvalue );"
Newer Post
Older Post
Home