Class: PayPal::SDK::Core::API::DataTypes::SimpleTypes::Float

Inherits:
Float
  • Object
show all
Defined in:
lib/paypal-sdk/core/api/data_types/simple_types.rb

Class Method Summary collapse

Class Method Details

.new(float) ⇒ Object


25
26
27
# File 'lib/paypal-sdk/core/api/data_types/simple_types.rb', line 25

def self.new(float)
  float.to_f
end