rem(r1, r2)
Return the remainder of the real numbers r1 and r2. The remainder has the same sign as r1.
r1
r2
rem(10, 5.2) // 4.8 rem(10, -5.2) // 4.8 rem(-10, -5.2) // -4.8
Core Module Index | Contents