Retail V2 API - Class Google::Protobuf::FloatValue (v1.1.0)

Reference documentation and code samples for the Retail V2 API class Google::Protobuf::FloatValue.

Wrapper message for float.

The JSON representation for FloatValue is JSON number.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#value

def value() -> ::Float
Returns
  • (::Float) — The float value.

#value=

def value=(value) -> ::Float
Parameter
  • value (::Float) — The float value.
Returns
  • (::Float) — The float value.