PDA

View Full Version : Avoid scientific notation in my number field



disller
8 Jul 2012, 12:24 PM
Hi There,

How can I avoid scientific notation in my number field?

Thanks

scottmartin
8 Jul 2012, 4:23 PM
This is more of a JS issue .. here are some posts to offer suggestions: (BigInt.js)
http://stackoverflow.com/questions/1685680/how-to-avoid-scientific-notation-for-large-numbers-in-javascript

Scott.

elyfran
22 Mar 2013, 9:14 AM
this problems was solved?

Thx

slemmon
6 Aug 2014, 3:44 PM
As Scott mentioned, that's actually a Javascript distinction rather than something in the framework.
See the example here:
http://jsfiddle.net/slemmon/jy82yLd9/1/

You would have to override the Javascript Number function itself it seems:
http://stackoverflow.com/questions/1685680/how-to-avoid-scientific-notation-for-large-numbers-in-javascript