Exception: Decimal::Rounded

Inherits:
Exception
  • Object
show all
Defined in:
lib/decimal/decimal.rb

Overview

Number got rounded exception (not necessarily changed during rounding).

This occurs and signals rounded whenever the result of an operation is rounded (that is, some zero or non-zero digits were discarded from the coefficient), or if an overflow or underflow condition occurs. The result in all cases is unchanged.

Instance Attribute Summary

Attributes inherited from Exception

#context

Method Summary

Methods inherited from Exception

handle, #initialize

Constructor Details

This class inherits a constructor from Decimal::Exception