Description |
The FahrenheitToCelsius function converts a FahrenheitValue to celsius.
|
|
Related commands |
|
|
|
Example code : Convert body temperature in fahrenheit to celsius |
var
celsius, fahrenheit : Double;
begin // Define the fahrenheit value fahrenheit := 98.4; // Human body temperature
// Convert to celsius
celsius := FahrenheitToCelsius(fahrenheit);
// Show both values
ShowMessageFmt('%f F = %f C',[fahrenheit, celsius]);
end;
|
Show full unit code |
98.40 F = 36.89 C
|
|