Table of Contents

Abs

Format

abs ( expression )

Description

Retourne la valeur absolue d'une expression numérique.

Exemple

print abs(-45)
print abs(6.45)

permet d'afficher

45
6.45
 
fr/abs.txt · Last modified: 2010/09/10 10:30 by gaelle
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki