Class: OCI8::BindType::BigDecimal

Inherits:
OraNumber
  • Object
show all
Defined in:
lib/oci8/bindtype.rb

Constant Summary collapse

@@bigdecimal_is_required =
false

Instance Method Summary collapse

Instance Method Details

#getObject



29
30
31
32
33
34
35
# File 'lib/oci8/bindtype.rb', line 29

def get()
  unless @@bigdecimal_is_required
    require 'bigdecimal'
    @@bigdecimal_is_required = true
  end
  (val = super()) && val.to_d
end