-

sub(value, digits)
Instance Public methods

Subtract the specified value.

e.g.

c = a.sub(b,n)
c = a - b
digits

If specified and less than the number of significant digits of the

result, the result is rounded to that number of digits, according to ::mode.

doc_ruby_on_rails
2015-03-31 06:20:18
Comments
Leave a Comment

Please login to continue.