NCT Group 99M Microscope & Magnifier User Manual


 
20 Custom Macro
187
Arc tangent - #i = ATAN #j
The code of the function is ATAN.
As a result of operation, variable #i will assume the arc tangent of variable #j in degrees. The
result, i.e. the value of #i, lies between +90° and -90°.
Exponent with base e: #i = EXP #j
The code of the function is EXP.
As a result of the operation, variable #i will assume the #j-th power of the natural number (e).
Logarithm natural: #i = LN #j
The code of the function is LN.
As a result of operation, variable #i will assume the logarithm natural of number #j. The value
of #j may not be 0 or a negative number.
Absolute value: #i = ABS #j
The code of the function is ABS.
As a result of operation, variable #i will assume the absolute value of variable #j.
Conversion from binary into binary-coded decimal: #i = BCD #j
The code of the function is BCD.
As a result of operation, variable #i will assume the BCD value of variable #j. The value range
of variable #j is 0 to 99999999.
Conversion from binary-coded decimal into binary: #i = BIN #j
The code of the function is BIN.
As a result of the operation, variable #i will assume the binary value of variable #j. The value
range of variable #j is 0 to 99999999.
Discard fractions less than 1: #i = FIX #j
The code of the function is FIX.
This operation will discard the fraction of variable #j, and that value will be put in variable #i.
For example,
#130 = FIX 4.8 = 4
#131 = FIX –6.7 = –6
Add 1 for fractions less than 1: #i = FUP #j
The code of the function is FUP
This operation will discard the fraction of variable #j, and will add 1 to #j in absolute value.
For example,
#130 = FUP 12.1 = 13
#131 = FUP –7.3 = –8