PhenixID

Numeric Handler

Version: 1.3

Category: Process

Extended Category: Numeric

Action Package: Extended Actions

Description

Makes a simple mathematical operation with a numeric session attribute value.

ParameterDescriptionExample
Numeric Session Attribute[Mandatory]
The attribute that contains the numeric value.
description
Result Attribute(s)[Optional] The result will be written to these attributes, separate the attribute names with “,”. If empty, the source attribute is overwritten. descriptionMultiplied
Simple Mathematical Operation (+-*/)[Mandatory]
The mathematical operation to the value of the session attribute. Use +-*/, example: +1 or *100 or -SESSION(otherAttrib)
*22
Max No of Decimals[Optional]
The maximal number of decimals in the answer.
Default: 0.
2
Decimal Mark[Optional]
The mark to use for the decimal delimit.
Default: . (dot).
,
Padd Decimals with Zero[Optional]
If zeros should be added to the decimal part if the decimals are fewer than the maximal number of decimals. (true/false)
Default: true.
false

Use Cases

Example 1: carLicense – url

Subtract the numeric value in url from the numeric value in carLicense. The result will be displayed in carLicense session attribute.

ParameterValue
Numeric Session AttributecarLicense
Simple Mathematical Operation (+-*/)-SESSION(url)
Max No of Decimals[BLANK]
Decimal Mark[BLANK]
Padd Decimals with Zero[BLANK]

DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se