Quantity

quantity : F64, units -> Quantity F64 units

add : Quantity F64 units, Quantity F64 units -> Quantity F64 units

sub : Quantity F64 units, Quantity F64 units -> Quantity F64 units

mul : Quantity F64 unitsA, Quantity F64 unitsB -> Quantity F64 (Product unitsA unitsB)

square : Quantity F64 units -> Quantity F64 (Squared units)

metersPerSecondPerSecond : F64 -> Acceleration F64

Parse a number as a acceleration in meters per second per second (m/s/s).

toMetersPerSecondPerSecond : Acceleration F64 -> F64

Convert a acceleration to a number of meters per second per second (m/s/s).

standardGravity : F64 -> Acceleration F64

Parse a number as a acceleration in standard gravity.

toStandardGravity : Acceleration F64 -> F64

Convert a acceleration to a number of standard gravity.

squareMeters : F64 -> Area F64

Parse a number as a area in square meters.

toSquareMeters : Area F64 -> F64

Convert a area to a number of square meters.

squareFeet : F64 -> Area F64

Parse a number as a area in square feet.

toSquareFeet : Area F64 -> F64

Convert a area to a number of square feet.

bits : F64 -> Data F64

Parse a number as a data in bits (b).

toBits : Data F64 -> F64

Convert a data to a number of bits (b).

bytes : F64 -> Data F64

Parse a number as a data in bytes (B).

toBytes : Data F64 -> F64

Convert a data to a number of bytes (B).

nibbles : F64 -> Data F64

Parse a number as a data in nibbles.

toNibbles : Data F64 -> F64

Convert a data to a number of nibbles.

joules : F64 -> Energy F64

Parse a number as a energy in joules (J).

toJoules : Energy F64 -> F64

Convert a energy to a number of joules (J).

calories : F64 -> Energy F64

Parse a number as a energy in calories.

toCalories : Energy F64 -> F64

Convert a energy to a number of calories.

kiloCalories : F64 -> Energy F64

Parse a number as a energy in kilo calories.

toKiloCalories : Energy F64 -> F64

Convert a energy to a number of kilo calories.

kilowattHours : F64 -> Energy F64

Parse a number as a energy in kilowatt hours (kWh).

toKilowattHours : Energy F64 -> F64

Convert a energy to a number of kilowatt hours (kWh).

newtons : F64 -> Force F64

Parse a number as a force in newtons (N).

toNewtons : Force F64 -> F64

Convert a force to a number of newtons (N).

poundForce : F64 -> Force F64

Parse a number as a force in pound force (lbf).

toPoundForce : Force F64 -> F64

Convert a force to a number of pound force (lbf).

meters : F64 -> Length F64

Parse a number as a length in meters (m).

toMeters : Length F64 -> F64

Convert a length to a number of meters (m).

angstroms : F64 -> Length F64

Parse a number as a length in angstroms.

toAngstroms : Length F64 -> F64

Convert a length to a number of angstroms.

astronomicalUnits : F64 -> Length F64

Parse a number as a length in astronomical units (AU).

toAstronomicalUnits : Length F64 -> F64

Convert a length to a number of astronomical units (AU).

centimeters : F64 -> Length F64

Parse a number as a length in centimeters (cm).

toCentimeters : Length F64 -> F64

Convert a length to a number of centimeters (cm).

feet : F64 -> Length F64

Parse a number as a length in feet (ft).

toFeet : Length F64 -> F64

Convert a length to a number of feet (ft).

inches : F64 -> Length F64

Parse a number as a length in inches (in).

toInches : Length F64 -> F64

Convert a length to a number of inches (in).

kilometers : F64 -> Length F64

Parse a number as a length in kilometers (km).

toKilometers : Length F64 -> F64

Convert a length to a number of kilometers (km).

lightYears : F64 -> Length F64

Parse a number as a length in light years (ly).

toLightYears : Length F64 -> F64

Convert a length to a number of light years (ly).

miles : F64 -> Length F64

Parse a number as a length in miles (mi).

toMiles : Length F64 -> F64

Convert a length to a number of miles (mi).

nauticalMiles : F64 -> Length F64

Parse a number as a length in nautical miles.

toNauticalMiles : Length F64 -> F64

Convert a length to a number of nautical miles.

kilograms : F64 -> Mass F64

Parse a number as a mass in kilograms (kg).

toKilograms : Mass F64 -> F64

Convert a mass to a number of kilograms (kg).

grams : F64 -> Mass F64

Parse a number as a mass in grams (g).

toGrams : Mass F64 -> F64

Convert a mass to a number of grams (g).

ounces : F64 -> Mass F64

Parse a number as a mass in ounces (oz).

toOunces : Mass F64 -> F64

Convert a mass to a number of ounces (oz).

pounds : F64 -> Mass F64

Parse a number as a mass in pounds (lb).

toPounds : Mass F64 -> F64

Convert a mass to a number of pounds (lb).

tonnes : F64 -> Mass F64

Parse a number as a mass in tonnes (T).

toTonnes : Mass F64 -> F64

Convert a mass to a number of tonnes (T).

tons : F64 -> Mass F64

Parse a number as a mass in tons.

toTons : Mass F64 -> F64

Convert a mass to a number of tons.

pascals : F64 -> Pressure F64

Parse a number as a pressure in pascals (Pa).

toPascals : Pressure F64 -> F64

Convert a pressure to a number of pascals (Pa).

atmospheres : F64 -> Pressure F64

Parse a number as a pressure in atmospheres.

toAtmospheres : Pressure F64 -> F64

Convert a pressure to a number of atmospheres.

bars : F64 -> Pressure F64

Parse a number as a pressure in bars.

toBars : Pressure F64 -> F64

Convert a pressure to a number of bars.

metersPerSecond : F64 -> Speed F64

Parse a number as a speed in meters per second (m/s).

toMetersPerSecond : Speed F64 -> F64

Convert a speed to a number of meters per second (m/s).

feetPerSecond : F64 -> Speed F64

Parse a number as a speed in feet per second (ft/s).

toFeetPerSecond : Speed F64 -> F64

Convert a speed to a number of feet per second (ft/s).

kilometersPerHour : F64 -> Speed F64

Parse a number as a speed in kilometers per hour (kph).

toKilometersPerHour : Speed F64 -> F64

Convert a speed to a number of kilometers per hour (kph).

knots : F64 -> Speed F64

Parse a number as a speed in knots.

toKnots : Speed F64 -> F64

Convert a speed to a number of knots.

lightSpeed : F64 -> Speed F64

Parse a number as a speed in light speed (c).

toLightSpeed : Speed F64 -> F64

Convert a speed to a number of light speed (c).

mach : F64 -> Speed F64

Parse a number as a speed in mach.

toMach : Speed F64 -> F64

Convert a speed to a number of mach.

milesPerHour : F64 -> Speed F64

Parse a number as a speed in miles per hour (mph).

toMilesPerHour : Speed F64 -> F64

Convert a speed to a number of miles per hour (mph).

seconds : F64 -> Time F64

Parse a number as a time in seconds (s).

toSeconds : Time F64 -> F64

Convert a time to a number of seconds (s).

days : F64 -> Time F64

Parse a number as a time in days.

toDays : Time F64 -> F64

Convert a time to a number of days.

hours : F64 -> Time F64

Parse a number as a time in hours.

toHours : Time F64 -> F64

Convert a time to a number of hours.

minutes : F64 -> Time F64

Parse a number as a time in minutes.

toMinutes : Time F64 -> F64

Convert a time to a number of minutes.

weeks : F64 -> Time F64

Parse a number as a time in weeks.

toWeeks : Time F64 -> F64

Convert a time to a number of weeks.

liters : F64 -> Volume F64

Parse a number as a volume in liters (L).

toLiters : Volume F64 -> F64

Convert a volume to a number of liters (L).

cubicCentimeters : F64 -> Volume F64

Parse a number as a volume in cubic centimeters.

toCubicCentimeters : Volume F64 -> F64

Convert a volume to a number of cubic centimeters.

cubicInches : F64 -> Volume F64

Parse a number as a volume in cubic inches.

toCubicInches : Volume F64 -> F64

Convert a volume to a number of cubic inches.

cubicMeters : F64 -> Volume F64

Parse a number as a volume in cubic meters.

toCubicMeters : Volume F64 -> F64

Convert a volume to a number of cubic meters.

gallons : F64 -> Volume F64

Parse a number as a volume in gallons.

toGallons : Volume F64 -> F64

Convert a volume to a number of gallons.

pints : F64 -> Volume F64

Parse a number as a volume in pints.

toPints : Volume F64 -> F64

Convert a volume to a number of pints.

quarts : F64 -> Volume F64

Parse a number as a volume in quarts.

toQuarts : Volume F64 -> F64

Convert a volume to a number of quarts.