Posted: 4 Aug 2015 10:25 EDT Last activity: 25 Apr 2017 12:29 EDT
Automatic rounding of big numbers
I have a text-input control with a decimal property on it. When I try to input 12345678901234567890 in it and refresh a section, number rounds to 12345678901234567000. If I try to input 1234567890123456789, I'll get 1234567890123456770 and so on.
If I use a property with type "double", result is the same. I found some kind of solution, but it's not very elegant - custom control, wich just a copy of built-in one.
Someone have another solution?
I thought, java's double type should allow to operate with much bigger values... What's wrong with pega's double?
***Updated by moderator: Lochan to add Categories***