@@ -23,15 +23,15 @@ module com.livecode.mathfoundation
2323use com.livecode.foreign
2424
2525public foreign handler MCMathFoundationExecRoundRealToNearest(inout Target as CDouble) as undefined binds to "<builtin>"
26- public foreign handler MCMathFoundationExecRoundNumberToNearest(inout Target as number ) as undefined binds to "<builtin>"
26+ public foreign handler MCMathFoundationExecRoundNumberToNearest(inout Target as Number ) as undefined binds to "<builtin>"
2727
2828public foreign handler MCMathFoundationEvalRoundedRealToNearest(in Target as CDouble, out Value as CDouble) as undefined binds to "<builtin>"
29- public foreign handler MCMathFoundationEvalRoundedNumberToNearest(in Target as number , out Value as number ) as undefined binds to "<builtin>"
29+ public foreign handler MCMathFoundationEvalRoundedNumberToNearest(in Target as Number , out Value as Number ) as undefined binds to "<builtin>"
3030
3131public foreign handler MCMathFoundationEvalFloorReal(in Target as CDouble, out Value as CDouble) as undefined binds to "<builtin>"
32- public foreign handler MCMathFoundationEvalFloorNumber(in Target as number , out Value as number ) as undefined binds to "<builtin>"
32+ public foreign handler MCMathFoundationEvalFloorNumber(in Target as Number , out Value as Number ) as undefined binds to "<builtin>"
3333public foreign handler MCMathFoundationEvalCeilingReal(in Target as CDouble, out Value as CDouble) as undefined binds to "<builtin>"
34- public foreign handler MCMathFoundationEvalCeilingNumber(in Target as number , out Value as number ) as undefined binds to "<builtin>"
34+ public foreign handler MCMathFoundationEvalCeilingNumber(in Target as Number , out Value as Number ) as undefined binds to "<builtin>"
3535
3636public foreign handler MCMathFoundationEvalPi(out Value as CDouble) as undefined binds to "<builtin>"
3737--
@@ -42,7 +42,7 @@ public foreign handler MCMathFoundationEvalPi(out Value as CDouble) as undefined
4242Summary: The constant pi
4343
4444Example:
45- variable tVar as number
45+ variable tVar as Number
4646 put the cos of pi into tVar -- tVar contains -1
4747
4848Description:
@@ -64,7 +64,7 @@ Summary: Rounds <Target> to the nearest integer.
6464Target: An expression that evaluates to a numeric container.
6565
6666Example:
67- variable tNum as number
67+ variable tNum as Number
6868 put -5.5 into tNum
6969 round tNum -- tNum contains -6
7070
@@ -87,8 +87,8 @@ Target: An expression that evaluates to a number.
8787Returns: The rounded value of <Target>
8888
8989Example:
90- variable tNum as number
91- variable tRounded as number
90+ variable tNum as Number
91+ variable tRounded as Number
9292 put -5.5 into tNum
9393 put the rounded of tNum into tRounded -- tRounded contains -6
9494
@@ -113,8 +113,8 @@ Target: An expression that evaluates to a number.
113113Returns: The floor of <Target>
114114
115115Example:
116- variable tNum as number
117- variable tFloor as number
116+ variable tNum as Number
117+ variable tFloor as Number
118118 put -5.5 into tNum
119119 put the floor of tNum into tFloor -- tFloor contains -6
120120
@@ -138,8 +138,8 @@ Target: An expression that evaluates to a number.
138138Returns: The ceiling of <Target>
139139
140140Example:
141- variable tNum as number
142- variable tCeiling as number
141+ variable tNum as Number
142+ variable tCeiling as Number
143143 put -5.5 into tNum
144144 put the ceiling of tNum into tCeiling -- tCeiling contains -5
145145
0 commit comments