fixed() returning wrong value for more than 16 character

 Hi,

 

I am getting issue with fixed() function. Its returning weird value for more then 16 character.

stripwith(fixed("1234567890123456",4,true),"~") ---"1234567890123456.0000"

 stripwith(fixed("123456789012345612",4,true),"~")--- "123456789012345616.0000"

 

Same way you add number at 17th position onwards you will come to know.

 

Kindly help me on this what could be the possible solution.

  Discussion posts and replies are publicly visible

Parents Reply
  • From where does original value come into Appian? Also, can you provide information how the field is configured in the DB.

    Is the value saved correctly into the DB when you are converting? I would assume that per David's answer above, any number that has more than 16 digits of precision would be corrupted when text is converted to number.

    You can post images of your process model using rich text mode of this editor. That would be very helpful.

Children
No Data