float :frac ( float $NUMBER )
Returns the fractional part of a real number.
# :frac example :writeln :frac f+3.3 # Should be +0.3 :writeln :frac f+3.9 # Should be +0.9 :writeln :frac f-4.1 # Should be -0.1 :writeln :frac f-4.8 # Should be -0.8
wikipage modified on 2014/0601/2317