Expand my Community achievements bar.

Round numbers in decimal fields

Avatar

Former Community Member
Hi,



I have built a form with decimal fields. Then I put the properties "Limit leading numbers" and "Limit trailing numbers" both to 2. When I input the following numbers the rounding of these numbers is inconsistent. Sometimes it is rounded and sometimes just cut of.



The data:

1.055 --> gives 1.05

1.155 --> gives 1.16

1.255 --> gives 1.25

1.355 --> gives 1.36



2.055 --> gives 1.06

2.155 --> gives 1.15

2.255 --> gives 1.25

2.355 --> gives 1.36



I have tried many numbers and cannot see any pattern in these results.



Does anyone know what the problem is or how I can fix this problem?



FYI: I am using Livecycle designer 7.1 and the reader is version 7.09.



Thanks,



Philip
0 Replies