Class: Java::JavaMath::BigDecimal
Overview
JavaMath:.BigDecimal does not premit mathematical operations We convert it to RubyBigDecimal to represent it (if present in the DB) and upon loading from the DB
Instance Method Summary collapse
Instance Method Details
#from_orient ⇒ Object
285 286 287 |
# File 'lib/other.rb', line 285 def from_orient BigDecimal.new self.to_s end |
#to_f ⇒ Object
281 282 283 |
# File 'lib/other.rb', line 281 def to_f BigDecimal.new self.to_s end |