3 ms·
It depends on what you are using on the back end. So for the record my own app's back end is Ruby on Rails. If you enter the value "3.9e3" which represents the
by padseeker 4y ago
It depends on what you are using on the back end. So for the record my own app's back end is Ruby on Rails.
If you enter the value "3.9e3" which represents the number 3900, Rails param parser will simply use the number 3 and toss the rest of the value away. Do you really want to add special functionality on the back end to covert that value into the actual value? Most of us would not.
I'd be curious to see how other languages and frameworks handle this issue but the e for many of us is a real problem. Most people aren't even aware of it, and learn the hard way.