



|
Manuel PHP
|
|
Table : .abs.acos .acosh .asin .asinh .atan2 .atan .atanh .base convert .bindec .ceil .cos .cosh .decbin .dechex .decoct .deg2rad .exp .expm1 .floor .fmod .getrandmax .hexdec .hypot .is finite .is infinite .is nan .lcg value .log10 .log1p .log .max .min .mt getrandmax .mt rand .mt srand .octdec .pi .pow .rad2deg .rand .round .sin .sinh .sqrt .srand .tan .tanh |
pipiDescriptionfloat pi ( void )pi() retourne la valeur de pi. La valeur retournée est de type float, et est à la précision indiquée par la directive precision, indiquée dans le fichier php.ini, qui vaut par défaut 14. De plus, vous pouvez utiliser la constante M_PI, qui retourne un résultat identique à la fonction pi().
|

