Class: BigDecimal

Inherits:
Object show all
Defined in:
lib/sxp/writer.rb

Overview

Extensions for Ruby's BigDecimal class.

Instance Method Summary collapse

Instance Method Details

#to_sxpString

Returns the SXP representation of this object.


96
97
98
# File 'lib/sxp/writer.rb', line 96

def to_sxp
  to_f.to_s
end