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
1490
large decimal values in igNumericEditor?
posted

It appears that igNumericEditor is limited to the "float" data type in javascript and because of this it can lose large numbers that a user may type in. 

For example, if I create an igNumericEditor with maxValue of "99999999999999.99999" and then enter the value "99999999999999.99999" into the editor and tab out, it changes the value to "100000000000000.00000". This seems consistent with what the parseFloat() javascript function would do, but is there a way around this? 

You can see the example I've attached. Just enter in the value "99999999999999.99999" in the editor and tab out.

Is there a way around this? how should larger numbers like this be handled?

igNumericEditor.zip
Parents
No Data
Reply
  • 9190
    Offline posted

    Hello Ryan Rupp,

    Thank you for posting on our forums. I will be happy to assist you with this issue.

    I've investigated this issue regarding maxValue not being applied for larger numbers. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 171126.  The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution. 

    I will be sure to update you on this post once a fix becomes available.  Please let me know if you have any questions regarding this matter.

Children