03-19-2015, 02:41 PM
The mod function is working normaly on the HP Prime.
When I run this small test it prints not the reminder, but
360001.5.
What is doing wrong?
EXPORT test()
Begin
Local J;
J:=(360*1000+1.5 mod 360);
Print(J);
End;
Cheers,
Jan Kromhout
Hellevoetsluis-NL
When I run this small test it prints not the reminder, but
360001.5.
What is doing wrong?
EXPORT test()
Begin
Local J;
J:=(360*1000+1.5 mod 360);
Print(J);
End;
Cheers,
Jan Kromhout
Hellevoetsluis-NL