|
addi
|
The addi function returns the sum of its arguments as an Integer quantity.
The addi function accepts any numeric operand and performs any necessary type
conversions prior to performing the addition.
When to use Use the addi function to add two or more numbers and return the result an Integer.
The addi function will truncate any fractional portion of its operands before adding.
An alternative function, the iadd function, is faster function, but does not perform
any type conversions or type checking.
(addi num1, num2, ... ) Returns the result of the add operation.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The addi function performs addition of the argument values , which in
these examples are Numbers and Money values and returns the result
as an Integer.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types num1 The first operand Number num2 An arbitrary number of subsequent operands Number
Returns:
Examples
Argument Types
Number
Integer
How do I contact the AIS team?