Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login
(PHP 4 >= 4.0.4, PHP 5)
gmp_neg() retourne l'opposé de a (-1 * a).
Exemple 1. Exemple avec gmp_neg()
<?php$neg1 = gmp_neg("1");echo gmp_strval($neg1) . "\n";$neg2 = gmp_neg("-1");echo gmp_strval($neg2) . "\n";?>
L'exemple ci-dessus va afficher :
-1 1
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account
Document on this page is part of "Manuel PHP". See Index Page for more info about Authorship and Copyright.
1999-2009 Linuxinfor.com. No rights reserved.