%

num.modulo(numeric) รข real
Instance Public methods
x.modulo(y) means x-y*(x/y).floor

Equivalent to num.divmod(aNumeric).

See Numeric#divmod.

doc_ruby_on_rails
2015-04-22 23:08:53
Comments
Leave a Comment

Please login to continue.