Record TDegreeFahrenheitUnitHelper
Unit
Declaration
type TDegreeFahrenheitUnitHelper = record helper for TDegreeFahrenheitUnit
Description
Record helper for TDegreeFahrenheitUnit providing conversion and formatting operations for temperatures expressed in degrees Fahrenheit.
All extraction methods apply the inverse of the Fahrenheit affine conversion, so that a quantity stored internally in kelvin is correctly displayed in °F: T[°F] = T[K] × 9/5 - 459.67.
All ToString and ToVerboseString methods produce output with the Fahrenheit symbol '°F' or name 'degree Fahrenheit' / 'degrees Fahrenheit'.
Overview
Methods
| Public | function GetName(const Prefixes: TPrefixes): string; |
| Public | function GetPluralName(const Prefixes: TPrefixes): string; |
| Public | function GetSymbol(const Prefixes: TPrefixes): string; |
| Public | function GetValue(const AQuantity: double; const APrefixes: TPrefixes): double; |
| Public | function ToFloat(const AQuantity: TQuantity): double; |
| Public | function ToFloat(const AQuantity: TQuantity; const APrefixes: TPrefixes): double; |
| Public | function ToString(const AQuantity: TQuantity): string; |
| Public | function ToString(const AQuantity: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string; |
| Public | function ToString(const AQuantity: TQuantity; const APrefixes: TPrefixes): string; |
| Public | function ToString(const AQuantity, ATolerance: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string; |
| Public | function ToVerboseString(const AQuantity: TQuantity): string; |
| Public | function ToVerboseString(const AQuantity: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string; |
| Public | function ToVerboseString(const AQuantity: TQuantity; const APrefixes: TPrefixes): string; |
| Public | function ToVerboseString(const AQuantity, ATolerance: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string; |
Description
Methods
| Public | function GetName(const Prefixes: TPrefixes): string; |
|
Returns the singular name of the unit with the given prefix applied. For the Fahrenheit unit this is typically Parameters
| |
| Public | function GetPluralName(const Prefixes: TPrefixes): string; |
|
Returns the plural name of the unit with the given prefix applied. For the Fahrenheit unit this is typically Parameters
| |
| Public | function GetSymbol(const Prefixes: TPrefixes): string; |
|
Returns the symbol of the unit with the given prefix applied. For the Fahrenheit unit this is typically Parameters
| |
| Public | function GetValue(const AQuantity: double; const APrefixes: TPrefixes): double; |
|
Returns the real scalar value scaled for the given prefix, expressed in degrees Fahrenheit. Applies the inverse affine conversion: Parameters
| |
| Public | function ToFloat(const AQuantity: TQuantity): double; |
|
Returns the numerical value of the real quantity expressed in degrees Fahrenheit. Applies the inverse affine conversion: Parameters
| |
| Public | function ToFloat(const AQuantity: TQuantity; const APrefixes: TPrefixes): double; |
|
Returns the numerical value of the real quantity expressed in degrees Fahrenheit with the given prefix applied. Parameters
| |
| Public | function ToString(const AQuantity: TQuantity): string; |
|
eturns a compact string representation of the temperature quantity in degrees Fahrenheit. Format: Parameters
| |
| Public | function ToString(const AQuantity: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string; |
|
Returns a compact string representation of the temperature quantity with controlled precision. Parameters
| |
| Public | function ToString(const AQuantity: TQuantity; const APrefixes: TPrefixes): string; |
|
Returns a compact string representation of the temperature quantity in degrees Fahrenheit with the given prefix applied. Parameters
| |
| Public | function ToString(const AQuantity, ATolerance: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string; |
|
Returns a compact string representation of the temperature quantity with a tolerance range. Format: Parameters
| |
| Public | function ToVerboseString(const AQuantity: TQuantity): string; |
|
Returns a verbose string representation of the temperature quantity in degrees Fahrenheit. Format: Parameters
| |
| Public | function ToVerboseString(const AQuantity: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string; |
|
Returns a verbose string representation of the temperature quantity with controlled precision. Parameters
| |
| Public | function ToVerboseString(const AQuantity: TQuantity; const APrefixes: TPrefixes): string; |
|
Returns a verbose string representation of the temperature quantity with the given prefix. Parameters
| |
| Public | function ToVerboseString(const AQuantity, ATolerance: TQuantity; APrecision, ADigits: longint; const APrefixes: TPrefixes): string; |
|
Returns a verbose string representation of the temperature quantity with a tolerance range. Format: Parameters
| |
Generated by PasDoc 1.0.4.