Programmation   ||   Cisco   ||   Multimédia   ||   Bureautique

Fonctions mathématiques

Fonction Explication Exemple Sortie
Sqrt(n) Calcule la racine carrée du chiffre n Math.Sqrt(16) 4
pow(x, y) Calcule x a l'exposant y Math.pow(2,3) 8
Int(n) Retourne le chiffre n sans décimaux (attn: n'arrondie pas) Int(16.02)
Int(16.97)
16
Round(n,d) Retourne le chiffre n arrondie à d endroits après la virgule Math.Round(7.666,1) 7.7