Biologie et InformatiqueAMAPmod Reference manual crochet AML functions by module
crochet Aide
Retour à la page d'accueilPart OnePart TwoFile exampleBibliographyIndexSite Map
ToReal
Cast type to REAL.
Usage
ToReal(x)
Arguments
x (INT or REAL) : a numerical value
Returned Object
The value returned by ToReal has type REAL. If x is Undef, returns Undef.
Description
Cast a numerical value value to a REAL.
See Also
ToInt, ToReal.
Examples
AML>I = 3
<INT>3
AML> ToReal(i)
<REAL>3
AML> ToReal(3.4)
<REAL>3.4