Method: Qpid::Proton::Codec::Data#float

Defined in:
lib/codec/data.rb

#floatFloat

If the current node is a float, returns its value. Otherwise, returns 0.

Returns:

  • (Float)

    The floating point value.



456
457
458
# File 'lib/codec/data.rb', line 456

def float
  Cproton.pn_data_get_float(@impl)
end