PressureCreation extension

Provides convenient factory methods for creating Pressure instances from num using shortened unit names where appropriate.

on

Properties

atm Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Atmospheres (atm).
no setter
bar Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Bars (bar).
no setter
cmH2O Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Centimeters of Water (cmH₂O) at 4°C.
no setter
hPa Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Hectopascals (hPa).
no setter
inH2O Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Inches of Water (inH₂O) at 4°C.
no setter
inHg Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Inches of Mercury (inHg).
no setter
kPa Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Kilopascals (kPa).
no setter
mbar Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Millibars (mbar).
no setter
mmHg Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Millimeters of Mercury (mmHg).
no setter
pa Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Pascals (Pa).
no setter
psi Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Pounds per Square Inch (psi).
no setter
torr Pressure

Available on num, provided by the PressureCreation extension

Creates a Pressure instance representing this numerical value in Torrs (Torr).
no setter