Hello,
It's sometime usefull to test if a number is an integer or a float.
Perhaprs a good idea to add IsIntMatcher and IsFloatMatcher
I gave you the correct functions below:
function isInt(value:Number):Boolean
{
return (value % 1 == 0);
}
function isFloat(value:Number):Boolean
{
return (value % 1 != 0);
}
Thanks !