SQLite Forum

Fail to calculate long expression
Login
I fail to compute this.

617 mod 29 = 8

HP-41 617 ENTER 29 XEQ MODULO returns 8
HP 50G also returns 8

So remains 8 mod -0.0317193865612212 results in -2.50047999836ยท10^-2

Why is the resulted truncated? If it accepts the floating point number, it should return a floating point result if the modulo function is not limited to integers only.