Class: OCI8::BindType::BasicNumberType

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

Instance Method Summary collapse

Methods inherited from Base

create, #set

Instance Method Details

#getObject


51
52
53
# File 'lib/oci8/bindtype.rb', line 51

def get()
  (val = super()) && (val.has_fractional_part? ? val.to_f : val.to_i)
end