MOVE - Arithmetic Expression to Numeric Field Examples
Example 1:
|
|
|
|
|
|
|
|
|
|
|
|
|
•••85.10 |
|
|
|
|
••10.15 |
|
|
|
|
••100.05 |
|
| |||
|
|
|
|
••137.50 |
|
|
| ||
No Condition Flag is set.
Example 2:
|
|
|
|
|
|
|
|
|
|
|
|
|
•••23.15 |
|
|
|
|
•8 |
|
|
|
|
••2 |
|
| |||
|
|
|
|
•••-2.10 |
|
|
| ||
The LESS Condition Flag is set.
Example 3:
|
|
|
|
|
|
|
|
|
|
|
|
|
••5 |
|
| |||
|
|
|
|
•12 |
No Condition Flag is set.
Example 4:
|
|
|
|
|
|
|
|
|
|
|
|
|
•55 |
|
|
|
|
122 |
|
|
|
|
•54.23 |
|
| |||
|
|
|
|
•45.08 |
No Condition Flag is set. If this same calculation was performed using the CALC statement, the result would be zero.
![]() |