andrewplummer/Sugar — Issue #87: Feature: Number::isInt
Author: vjeux
Created: 2012-01-09 14:04:42+00:00
State: open

It would be nice to be able to do:

var x = 0.124
x.isInt() // false

var y = 12
y.isInt() // true

http://stackoverflow.com/a/3886106/232122