UnitsOfMeasurementRationalExtensions extension

Provides extensions on Rational related to units of measurement.

on
  • Rational

Methods

acres() Area
Gets an Area representing this number of acres.
billion() Quantity
Gets a Quantity representing this number of billions.
bits() InformationSize
Gets an InformationSize representing this number of bits.
bytes() InformationSize
Gets an InformationSize representing this number of bytes.
celsius() Temperature
Gets a Temperature representing this number of celsius.
centikelvins() Temperature
Gets a Temperature representing this number of centikelvins.
centimeters() Length
Gets a Length representing this number of centimeters.
centiseconds() Time
Gets a Time representing this number of centiseconds.
centuries() Time
Gets a Time representing this number of centuries.
crumbs() InformationSize
Gets an InformationSize representing this number of crumbs.
cubicDecameters() Volume
Gets a Volume representing this number of cubic decameters.
cubicFeet() Volume
Gets a Volume representing this number of cubic feet.
cubicGigameters() Volume
Gets a Volume representing this number of cubic gigameters.
cubicInches() Volume
Gets a Volume representing this number of cubic inches.
cubicKilometers() Volume
Gets a Volume representing this number of cubic kilometers.
cubicMegameters() Volume
Gets a Volume representing this number of cubic megameters.
cubicMeters() Volume
Gets a Volume representing this number of cubic meters.
cubicMicrometers() Volume
Gets a Volume representing this number of cubic micrometers.
cubicMiles() Volume
Gets a Volume representing this number of cubic miles.
cubicMillimeters() Volume
Gets a Volume representing this number of cubic millimeters.
cubicNanometers() Volume
Gets a Volume representing this number of cubic nanometers.
cubicThous() Volume
Gets a Volume representing this number of cubic thous.
cubicYards() Volume
Gets a Volume representing this number of cubic yards.
days() Time
Gets a Time representing this number of days.
decades() Time
Gets a Time representing this number of decades.
decameters() Length
Gets a Length representing this number of decameters.
decaseconds() Time
Gets a Time representing this number of decaseconds.
decikelvins() Temperature
Gets a Temperature representing this number of decikelvins.
decimeters() Length
Gets a Length representing this number of decimeters.
deciseconds() Time
Gets a Time representing this number of deciseconds.
exabits() InformationSize
Gets an InformationSize representing this number of exabits.
exabytes() InformationSize
Gets an InformationSize representing this number of exabytes.
exbibits() InformationSize
Gets an InformationSize representing this number of exbibits.
exbibytes() InformationSize
Gets an InformationSize representing this number of exbibytes.
fahrenheit() Temperature
Gets a Temperature representing this number of fahrenheit.
feet() Length
Gets a Length representing this number of feet.
fortnights() Time
Gets a Time representing this number of fortnights.
gibibits() InformationSize
Gets an InformationSize representing this number of gibibits.
gibibytes() InformationSize
Gets an InformationSize representing this number of gibibytes.
gigabits() InformationSize
Gets an InformationSize representing this number of gigabits.
gigabytes() InformationSize
Gets an InformationSize representing this number of gigabytes.
gigameters() Length
Gets a Length representing this number of gigameters.
gigatonnes() Weight
Gets a Weight representing this number of gigatonnes.
grams() Weight
Gets a Weight representing this number of grams.
hectares() Area
Gets an Area representing this number of hectares.
hectometers() Length
Gets a Length representing this number of hectometers.
hours() Time
Gets a Time representing this number of hours.
imperialCups() Volume
Gets a Volume representing this number of imperial cups.
imperialFluidOunces() Volume
Gets a Volume representing this number of imperial fluid ounces.
imperialGallons() Volume
Gets a Volume representing this number of imperial gallons.
imperialPints() Volume
Gets a Volume representing this number of imperial pints.
imperialQuarts() Volume
Gets a Volume representing this number of imperial quarts.
imperialTablespoons() Volume
Gets a Volume representing this number of imperial tablespoons.
imperialTeaspoons() Volume
Gets a Volume representing this number of imperial teaspoons.
imperialTons() Weight
Gets a Weight representing this number of imperialTons.
inches() Length
Gets a Length representing this number of inches.
kelvins() Temperature
Gets a Temperature representing this number of kelvins.
kibibits() InformationSize
Gets an InformationSize representing this number of kibibits.
kibibytes() InformationSize
Gets an InformationSize representing this number of kibibytes.
kilobits() InformationSize
Gets an InformationSize representing this number of kilobits.
kilobytes() InformationSize
Gets an InformationSize representing this number of kilobytes.
kilograms() Weight
Gets a Weight representing this number of kilograms.
kilometers() Length
Gets a Length representing this number of kilometers.
liters() Volume
Gets a Volume representing this number of liters.
mebibits() InformationSize
Gets an InformationSize representing this number of mebibits.
mebibytes() InformationSize
Gets an InformationSize representing this number of mebibytes.
megabits() InformationSize
Gets an InformationSize representing this number of megabits.
megabytes() InformationSize
Gets an InformationSize representing this number of megabytes.
megameters() Length
Gets a Length representing this number of megameters.
megatonnes() Weight
Gets a Weight representing this number of megatonnes.
meters() Length
Gets a Length representing this number of meters.
micrograms() Weight
Gets a Weight representing this number of micrograms.
microkelvins() Temperature
Gets a Temperature representing this number of microkelvins.
micrometers() Length
Gets a Length representing this number of micrometers.
microseconds() Time
Gets a Time representing this number of microseconds.
miles() Length
Gets a Length representing this number of miles.
milligrams() Weight
Gets a Weight representing this number of milligrams.
millikelvins() Temperature
Gets a Temperature representing this number of millikelvins.
milliliters() Volume
Gets a Volume representing this number of milliliters.
millimeters() Length
Gets a Length representing this number of millimeters.
million() Quantity
Gets a Quantity representing this number of millions.
milliseconds() Time
Gets a Time representing this number of milliseconds.
minutes() Time
Gets a Time representing this number of minutes.
months() Time
Gets a Time representing this number of months.
nanograms() Weight
Gets a Weight representing this number of nanograms.
nanokelvins() Temperature
Gets a Temperature representing this number of nanokelvins.
nanometers() Length
Gets a Length representing this number of nanometers.
nanoseconds() Time
Gets a Time representing this number of nanoseconds.
nibbles() InformationSize
Gets an InformationSize representing this number of nibbles.
ones() Quantity
Gets a Quantity representing this number of ones.
ounces() Weight
Gets a Weight representing this number of ounces.
pebibits() InformationSize
Gets an InformationSize representing this number of pebibits.
pebibytes() InformationSize
Gets an InformationSize representing this number of pebibytes.
petabits() InformationSize
Gets an InformationSize representing this number of petabits.
petabytes() InformationSize
Gets an InformationSize representing this number of petabytes.
pounds() Weight
Gets a Weight representing this number of pounds.
quarters() Time
Gets a Time representing this number of quarters.
seconds() Time
Gets a Time representing this number of seconds.
squareCentimeters() Area
Gets an Area representing this number of square centimeters.
squareDecameters() Area
Gets an Area representing this number of square decameters.
squareDecimeters() Area
Gets an Area representing this number of square decimeters.
squareFeet() Area
Gets an Area representing this number of square feet.
squareGigameters() Area
Gets an Area representing this number of square gigameters.
squareInches() Area
Gets an Area representing this number of square inches.
squareKilometers() Area
Gets an Area representing this number of square kilometers.
squareMegameters() Area
Gets an Area representing this number of square megameters.
squareMeters() Area
Gets an Area representing this number of square meters.
squareMicrometers() Area
Gets an Area representing this number of square micrometers.
squareMiles() Area
Gets an Area representing this number of square miles.
squareMillimeters() Area
Gets an Area representing this number of square millimeters.
squareNanometers() Area
Gets an Area representing this number of square nanometers.
squareThous() Area
Gets an Area representing this number of square thous.
squareYards() Area
Gets an Area representing this number of square yards.
tebibits() InformationSize
Gets an InformationSize representing this number of tebibits.
tebibytes() InformationSize
Gets an InformationSize representing this number of tebibytes.
terabits() InformationSize
Gets an InformationSize representing this number of terabits.
terabytes() InformationSize
Gets an InformationSize representing this number of terabytes.
thous() Length
Gets a Length representing this number of thous.
thousand() Quantity
Gets a Quantity representing this number of thousands.
tonnes() Weight
Gets a Weight representing this number of tonnes.
trillion() Quantity
Gets a Quantity representing this number of trillions.
usCustomaryCups() Volume
Gets a Volume representing this number of US customary cups.
usFluidOunces() Volume
Gets a Volume representing this number of US fluid ounces.
usLegalCups() Volume
Gets a Volume representing this number of US legal cups.
usLiquidGallons() Volume
Gets a Volume representing this number of US liquid gallons.
usLiquidPints() Volume
Gets a Volume representing this number of US liquid pints.
usLiquidQuarts() Volume
Gets a Volume representing this number of US liquid quarts.
usTablespoons() Volume
Gets a Volume representing this number of US tablespoons.
usTeaspoons() Volume
Gets a Volume representing this number of US teaspoons.
usTons() Weight
Gets a Weight representing this number of usTons.
weeks() Time
Gets a Time representing this number of weeks.
yards() Length
Gets a Length representing this number of yards.
years() Time
Gets a Time representing this number of years.
yobibits() InformationSize
Gets an InformationSize representing this number of yobibits.
yobibytes() InformationSize
Gets an InformationSize representing this number of yobibytes.
yottabits() InformationSize
Gets an InformationSize representing this number of yottabits.
yottabytes() InformationSize
Gets an InformationSize representing this number of yottabytes.
zebibits() InformationSize
Gets an InformationSize representing this number of zebibits.
zebibytes() InformationSize
Gets an InformationSize representing this number of zebibytes.
zettabits() InformationSize
Gets an InformationSize representing this number of zettabits.
zettabytes() InformationSize
Gets an InformationSize representing this number of zettabytes.