Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Grad <-> Fahrenheit (Formel) (https://www.delphipraxis.net/95075-grad-fahrenheit-formel.html)

mkinzler 30. Jun 2007 12:29

Re: Grad <-> Fahrenheit (Formel)
 
Zitat:

Das habe ich doch auch geschrieben. ouch!
@Matze:Ich wollte eigentlich deine Aussage nur untermauern, da er so ungläubig geklungen hat.

Matze 30. Jun 2007 13:00

Re: Grad <-> Fahrenheit (Formel)
 
Ich weiß, die Aussage war auch nicht an dich gerichtet. :)

Aber das Thema ist nun ja erledigt.

hathor 30. Jun 2007 18:56

Re: Grad <-> Fahrenheit (Formel)
 
StdConvs unit

CelsiusToFahrenheit
FahrenheitToCelsius


http://www.delphibasics.co.uk/RTL.as...usToFahrenheit
http://www.delphibasics.co.uk/RTL.as...nheitToCelsius

function FahrenheitToCelsius(const AValue: Double): Double;
begin
Result := ((AValue - 32) * 5) / 9;
end;

function CelsiusToFahrenheit(const AValue: Double): Double;
begin
Result := ((AValue * 9) / 5) + 32;
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:49 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz