arithmetic.operators
add, subtract, multiply, and divide numeric operands in arithmetic expressions.
Description
add, subtract, multiply, and divide numeric operands in arithmetic expressions.
The simplest arithmetic expression is a single numeric constant, variable, or function. More complex arithmetic expressions may combine two or more expressions using an arithmetic operator.
If a string value is used in an arithmetic expression, the Pick/BASIC runtime package attempts to convert it into a number. If it fails, '0' (zero) is used and a warning displays.
Example
total = (invoice.amount - discount) + tax
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
