A+B+C
- 1 Minute to read
- Print
- DarkLight
- PDF
A+B+C
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
DMath: A+B+C
Adds together A, B and C
Purpose
Use this function to:
- Calculate the sum of (A, B and C)
Return Value
Property | Value |
---|---|
FieldType | Double |
FieldSize | Low / Med / High / Continuous |
DataType | Discrete / Continuous |
DataSize | Short / Integer / LongInteger / Double |
Example Return Value: X*.XXXXXX....-X*.XXXXX
e.g. 21.000000, 98754654.123456, -5.000000, -654.320000
Record set display
The result of DMATH(A+B+C) is a floating point field. The recordset viewer only displays decimals where there is at least 1 non zero decimal digit. Consider using LMATH(A+B+C) if no input fields have decimal precision.
Parameters
Parameter | JSON | Description |
---|---|---|
Table | “targetTable”: “MyTableName” | The target table on which the new field will be created |
Filter | “dataset”: {DataSet_JSON} | Optional. If a filter is applied, records not in the filter recordset will be returned as null. |
Math Function | “p1”: “A+B+C” | A+B+C |
A | “p2”: “NumericFieldName” “p2”: “#N*.N*” | Required. Numeric Input for A. Supports:
|
B | “p3”: “NumericFieldName” “p3”: “#N*.N*” | Required. Numeric Input for B Supports:
|
C | “p4”: “NumericFieldName” “p4”: “#N*.N*” | Required. Numeric Input for C. Supports:
|
Treat Null as Zero | "nullIsZero": true "nullIsZero": false | True/False. Default = False If true, then any null values in the input fields will be treated as if they have a value of 0. |
JSON Sample
Usage Notes
See Also:
- (A+B+C) LMATH
- Mathematical Expression Field
- DMATH Overview
Example
Example | Details |
---|---|
Description | Sum of A,B and C |
Input |
|
Sample |
Was this article helpful?