Integer with Layout DIS(zz,zzz,zz9)
Author: firstname.lastname@example.org (Neill)
I have a numeric field with an I4 (Integer) interface.
If you enter a number with a decimal point e.g. 123.45 Uniface will truncate the field to exclude the decimal point i.e. result would be 123. Entering a number 123.78 would round i.e. result would be 124.
If a layout is now applied which includes comma separators for thousands and millions when entering 123.45 you end up with 12,345 or 123.78 ends up with 12,378 i.e. the decimal point is stripped and the digits after decimal point included in the overall figure.
Is this a bug (I am using Uniface 9..3.02.01 P215) or can it be approached in a different way?
Any ideas greatly appreciated.