Retail V2 API - Class Google::Protobuf::DoubleValue (v0.8.0)

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

Wrapper message for double.

The JSON representation for DoubleValue is JSON number.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#value

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

#value=

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