I am defining my numberfield and then I amgetting some value like this
val = 3.555678
I am using decimalPrecision : 3
in my number field so The value is displaying is 3.556
I want my value should be display 3.555 so for that I am using
val = val.toFixed(3);
val is coming in consol 3.555
then numberfield.setValue(val);
But in UI it is still comming 3.556
Why it is coming this.