Calculation Function; Calculation Type; Calculation Order - Brother TC-32B Manual

Table of Contents

Advertisement

Chapter 7 Macro
7.3

Calculation Function

7.3.1
Calculations such as those below are possible for variables and numerical values.
[Supplementary explanation]
Variable definition and
replacement
Addition
Multiplication
Function
7
7.3.2
The order that an expression is evaluated is as shown below.
1.
2.
3.
To replace the above order, use brackets [ ].
Brackets [ ] can be used up to five times, including the brackets for the function.
2004/01/22

Calculation type

Numerical values are entered for i, j, and k of #i, #j, and #k (e.g. #10), indicating they are
macro variables.
Instead of #j and #k, a constant can also be used for the right side of the equation.
#i = #j
#i = #j + #K
#i = #j -#k
#i = #j OR #k
#i = #j XOR #k
#i = #j * #k
#i = #j /#k
#i = #j AND #k
#i = SIN [#k]
#i = COS [#k]
#i = TAN [#k]
#i = ATAN [#k]
#i = SQRT [#k]
#i = ABS [#k]
#i = BIN [#k]
#i = BCD [#k]
#i = ROUND [#k]
#i = FIX [#k]
#i = FUP [#k]

Calculation order

Function
Multiplication
Addition
Definition and replacement
Addition
Subtraction
Logical OR
Exclusive OR
Multiplication
Division
AND
Sine
Cosine
Tangent
Reverse tangent
Square root
Absolute value
BCD to BIN conversion
BIN to BCD conversion
Rounding off
Rounding down to nearest whole
number
Rounding off to nearest whole
number
7 - 12
TC-32B
eTCOMNCPR7-1.doc

Advertisement

Table of Contents
loading

Table of Contents