Record TDegreeFahrenheitUnit

Unit

Declaration

type TDegreeFahrenheitUnit = record

Description

Represents the degree Fahrenheit temperature unit (°F).

The Fahrenheit scale has both a scale factor and an offset relative to kelvin: T[K] = (T[°F] + 459.67) × 5/9. The multiplication operator applies this full conversion, so that the resulting TQuantity is always expressed in kelvin internally.

Example: var T: TQuantity := 212.0 * DegreeFahrenheit; // stores 373.15 K internally

Note: because of the additive offset, Fahrenheit degrees cannot be used directly in multiplications or divisions to express temperature differences without care. For temperature differences, use kelvin directly.

Overview

Methods

Public class operator *(const AValue: double; const ASelf: TDegreeFahrenheitUnit): TQuantity; inline;

Description

Methods

Public class operator *(const AValue: double; const ASelf: TDegreeFahrenheitUnit): TQuantity; inline;

Converts a temperature value in degrees Fahrenheit to a TQuantity in kelvin. Applies the affine conversion: T[K] = (AValue + 459.67) × 5/9. The resulting quantity has the thermodynamic temperature dimension [K].


Generated by PasDoc 1.0.4.