Unplanned
Last Updated: 20 Jan 2021 12:27 by ADMIN
David
Created on: 06 Feb 2019 17:26
Category: NumericTextBox
Type: Feature Request
2
Scientific Notation Input

Hi,

My team and I work on science-related applications often dealing with very small numbers, like 0.0000000000456.  We actually have calculated values stored with over 300 digits to the right of the decimal (one of our current values is 1.70747723470817E-307), so we store them in our databases in Scientific Notation.

We have begun using the Kendo UI NumericTextBox with ASP.NET MVC throughout our applications, and we would like to provide our users with the ability to input values in Scientific Notation; for example, allow a user to type 7e-17 instead of having to type 0.00000000000000007.  We use the kendo.toString() functionality to display values in Scientific Notation, but we need to allow our users to input values using Scientific Notation.

Is there any way we can accomplish this with the Kendo UI NumericTextBox?  If not, could this feature be added?

Thank you for your assistance,

David

1 comment
ADMIN
Boyan Dimitrov
Posted on: 13 Feb 2019 15:45
Hello David,

Our Kendo UI NumericTextBox does not offer such functionality for scientific number input. I would like to suggest you to use a simple input element with text type and parse the input to exponential using the kendo.toString. For example you can use the https://api.jquery.com/blur/ to perform such operation. 

Currently we do not have plans to include such feature to the Kendo UI NumericTextBox, but I would encourage you to log in such feature request in our feedback portal. Most voted items are considered for future implementation. 


Regards,
Boyan Dimitrov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.