Friday, January 15, 2010

AS3: Remove fractional part in Number

Give a one line expression to remove the fraction part from a Number variable in AS3. Hint: should work for positive as well as negative numbers, and more than 32-bit numbers.