Posts by ground0 • 13 points
1 post
-
-2
votes2
answers68
viewsQ: Javascript function equivalent to Delphi Frac
I need a function in Javascript that returns the fractional part of a floating point number. Example: if Frac( num1 / num2 ) > 0 then begin