Behavior of a string property with value set from a double property
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.
Can anyone explain this behavior please?
Keep up to date on this post and subscribe to comments
- FAIL message at the Property-Set-XML step- Encountered a withEmbedded tag with property $this of non-page mode String; it will be ignored
- how to set a property value and string (text value) using DSS in different envs
- Property-Set Method is not working for CSV string
- Pega7 converts Double DataType Parameter to String Type after import from PRPC 6 SP2