We have a datasource field defined as type="float". In the DB2 iSeries SQL table the field is DECIMAL(17,10) 17 digits maximum, 10 to the right of the decimal point. When we make a fetch request, the value in the SQL table is .8196721311, but the value that displays in the FloatItem is 0.8196721076965332. We also have a floatPrecision validator with precision="10" so the user gets an error message without having made any change to the value.
We're using getAttributeAsFloat() to set the value in the ValuesManager used by the form.
We're using getAttributeAsFloat() to set the value in the ValuesManager used by the form.
Comment