method

modulo

v2_6_3 - Show latest stable - Class: Float
modulo(p1)
public

Returns the modulo after division of float by other.

6543.21.modulo(137)      #=> 104.21000000000004
6543.21.modulo(137.24)   #=> 92.92999999999961