You can use control characters to perform calculations in the text editor.
Effect |
Control character |
Remark |
Opens the calculation |
%AA |
Basic mathematical calculations (+, -, * and /) are supported, as well as parentheses. Commas must be entered as points ("."). |
Closes the calculation |
%AE |
|
Defines the formatting of the calculation result |
%FA |
See the examples below |
Closes the formatting of the calculation result |
%FE |
See the examples below |
Formats the decimal places as superscript |
%FAH |
For Allplan fonts only |
Defines the unit of the calculation result |
%D |
You can enter numbers between 1 and 9. Example: %D3%AA7000%AE returns 7 (division by 1000) %D* interprets the result as mm and displays it in m or cm |
Examples of formatting calculation results:
Example |
Result |
|
*.2 |
Any number of decimal places |
|
|
2 decimal places (rounded off) |
5.2 |
5 digits before the decimal point |
|
2 decimal places (rounded off) |
5.2.0 |
5 digits before the decimal point |
|
|
2 decimal places (rounded off) |
|
|
Fill 0 (no) decimal places with zeros |
|
|
Number |
Representation |
|
1.2 |
1.2 |
|
1.0 |
1 |
|
10.125 |
1.13 |
*.2.1 |
Any number of decimal places |
|
|
2 decimal places (rounded off) |
|
|
Fill 1 decimal place with rounded-off value |
|
|
Number |
Representation |
|
1.2 |
1.2 |
|
1.0 |
1.0 |
|
10.125 |
1.13 |
*.2.0.5 |
Any number of decimal places |
|
|
2 decimal places (rounded off) |
|
|
Fill 0 (no) decimal places with zeros |
|
|
Round last decimal place off to 5 |
|
|
Number |
Representation |
|
1.20 |
1.2 |
|
1.00 |
1 |
|
1.23 |
1.25 |
2 and 5 can be used as round-off values.
Basic mathematical calculations (+, -, * and /) are supported, as well as parentheses. Commas must be entered as points (".").
Example
%FA3.2%FE%AA3.2*2.55%AE returns 8.16
(C) Allplan GmbH | Privacy policy |