I am running into issue with numbers greater than 16 digits. You can see the rou

I am running into issue with numbers greater than 16 digits. You can see the rounding is weird

fixed("12345678901234560",2,true) --> 12345678901234560.00
fixed("12345678901234561",2,true) --> 12345678901234560.00
fixed("12345678901234562",2,true) --> 12345678901234562.00
fixed("12345678901234563",2,true) --> 12345678901234564.00
fixed("12345678901234564",2,true) --> 12345678901234564.00
fixed("12345678901234565",2,true) --> 12345678901234564.00
fixed("12345678901234566",2,true) --> 12345678901234566.00
fixed("12345678901234567",2,true) --> 12345678901234568.00
fixed("12345678901234568",2,true) --> 12345678901234568.00
fixed("12345678901234569",2,true) --> 12345678901234568.00

Even more weird is the rounding of 18 digits number below-
fixed("123456789012345670",2,true) --> 123456789012345664.00

Looks like few others ran into this earlier with no solution forum.appian.com/.../

Any ideas to handl...

OriginalPostID-129604

OriginalPostID-129604

  Discussion posts and replies are publicly visible