Variable: CONVERSION_FACTORS
const CONVERSION_FACTORS: {
CELSIUS_TO_FAHRENHEIT_MULTIPLIER: number;
CELSIUS_TO_FAHRENHEIT_OFFSET: 32;
DECIMAL_PLACES: 2;
DECIMAL_PLACES_PRECISE: 4;
INCHES_PER_FOOT: 12;
KG_TO_POUNDS: 2.20462;
METERS_PER_KILOMETER: 1000;
METERS_PER_MILE: 1609.344;
METERS_TO_FEET: 3.28084;
METERS_TO_INCHES: 39.3701;
MILLISECONDS_PER_SECOND: 1000;
MPS_TO_KMH: 3.6;
MPS_TO_MPH: 2.237;
SECONDS_PER_HOUR: 3600;
SECONDS_PER_MINUTE: 60;
};
Defined in: utils/config/constants.ts:4
Universal conversion factors used throughout the application.
Type Declarationβ
CELSIUS_TO_FAHRENHEIT_MULTIPLIERβ
readonly CELSIUS_TO_FAHRENHEIT_MULTIPLIER: number;
CELSIUS_TO_FAHRENHEIT_OFFSETβ
readonly CELSIUS_TO_FAHRENHEIT_OFFSET: 32 = 32;
DECIMAL_PLACESβ
readonly DECIMAL_PLACES: 2 = 2;
DECIMAL_PLACES_PRECISEβ
readonly DECIMAL_PLACES_PRECISE: 4 = 4;
INCHES_PER_FOOTβ
readonly INCHES_PER_FOOT: 12 = 12;
KG_TO_POUNDSβ
readonly KG_TO_POUNDS: 2.20462 = 2.204_62;
METERS_PER_KILOMETERβ
readonly METERS_PER_KILOMETER: 1000 = 1000;
METERS_PER_MILEβ
readonly METERS_PER_MILE: 1609.344 = 1609.344;
METERS_TO_FEETβ
readonly METERS_TO_FEET: 3.28084 = 3.280_84;
METERS_TO_INCHESβ
readonly METERS_TO_INCHES: 39.3701 = 39.3701;
MILLISECONDS_PER_SECONDβ
readonly MILLISECONDS_PER_SECOND: 1000 = 1000;
MPS_TO_KMHβ
readonly MPS_TO_KMH: 3.6 = 3.6;
MPS_TO_MPHβ
readonly MPS_TO_MPH: 2.237 = 2.237;
SECONDS_PER_HOURβ
readonly SECONDS_PER_HOUR: 3600 = 3600;
SECONDS_PER_MINUTEβ
readonly SECONDS_PER_MINUTE: 60 = 60;