Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2350
igNumericEditor - Incorrect rounding of Precise Decimal
posted

Hello,

We have a requirement to enter a decimal value out to 10 digits. This worked fine in 15.2, but the control appears to be rounding the value in 17.1.

Please see this jsfiddle for an example: http://jsfiddle.net/uofcft8z/9/

In the fiddle, edit the first row. Then type in the value 0.0000005580 into the 'Units In Stock' field. After the value is entered, it is rounded to 0.0000006 even though maxDecimals is set to 10. Is there a way to prevent this rounding?

Thanks,

Paul

Parents
  • 1100
    Offline posted

    Hello Paul,

    Thank you for using Infragistics Ignite UI!

    I have tested your scenario and I was able to reproduce the behavior that you describe. I guess you mean the decimals are not rounded in version 15.1 as I tested it with 15.2 and the behavior is similar. In 15.1 the decimals are not rounded but the editors were re-written in 15.2.

    I have created an issue about this and you can follow the progress on github - https://github.com/IgniteUI/ignite-ui/issues/1205

    Best regards,
    Alexander Marinov,
    Infragistics

Reply Children
No Data