Question

2
Replies
101
Views
LEELABIRAMS6337 Member since 2017 19 posts
Lloyds Banking Group PLC
Posted: 8 months ago
Last activity: 8 months ago

Behavior of a string property with value set from a double property

v7.3.1

We connect to an API which returns a numerical value and the integration wizard has generated a double property for this attribute. We have a String property in the application which will now be set with the value from this integration response property (of data type double).

Behavior based on the tests I have done so far -

Integration property value (double) - 12345

Application property value (string) - 12345.0

Integration property value (double) - 1234567

Application property value (string) - 1234567.0

Integration property value (double) - 12345678

Application property value (string) - 12345678

If the value for the double property is between -9999999 to 9999999, the String property has a decimal point added to it as mentioned above in the examples.

Question:

Can anyone explain this behavior please?

Pega Platform Data Integration
Share this page LinkedIn