Method: Quantify::Unit::Base#scaling

Defined in:
lib/quantify/unit/base_unit.rb

#scalingObject

Returns the scaling factor for the unit with repsect to its SI alternative.

For example the scaling factor for degrees celsius is 273.15, i.e. celsius is a value of 273.15 greater than kelvin (but with no multiplicative factor).



270
271
272
# File 'lib/quantify/unit/base_unit.rb', line 270

def scaling
  @scaling || 0.0
end