Thema: Delphi Taschenrechner

Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#9

Re: Taschenrechner

  Alt 20. Jan 2008, 15:01
Hallo,

muß man nicht errechnen, es gibt eine Funktion dafür:

Zitat von DelphiHilfe:
Unit

System

Category

arithmetic routines

function Pi: Extended;

Description

Use Pi in mathematical calculations that require pi, the ratio of a circle's circumference to its diameter. Pi is approximated as 3.1415926535897932385.
.. und wenn Du es unbedingt berechnen willst, hilft ein Blick bei Wikipedia.

Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat