Class: OCI8::BindType::BigDecimal

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

Constant Summary collapse

@@bigdecimal_is_required =
false

Instance Method Summary collapse

Methods inherited from Base

create, #set

Instance Method Details

#getObject



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

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