-
Notifications
You must be signed in to change notification settings - Fork 3
1. Introduction
Gary Criblez edited this page Jun 26, 2020
·
7 revisions
The Math object is a single object that has some named properties, some of which are functions.
You refer to the constant pi as Math.PI and you call the sine function as Math.sin(x), where x is the method's argument.
Since version V18R3, you can use an instance of AJ_Math by calling the class :
//old way
$math:= Math ()
//with class
$math:= AJ_Math.new ()
Attributes and functions remain the same.
L'objet Math est un objet unique qui possède des attributs, et des fonctions.
Vous appelez la constante pi par Math.PI et la fonction sinusoïdale par Math.sin(x), où x est l'argument de la méthode.
Depuis la version V18R3, vous pouvez utiliser une instance de AJ_Math en appelant sa classe :
//ancienne méthode
$math:=Math ()
//avec la classe
$math:= AJ_Math.new ()
Les attributs et fonctions restent identiques.
AJ_Math 1.2.0 - Wednesday, 05 March 2020