I am trying to enter value more than integer limit
I am trying to enter value more than integer limit
Keerthik
Posts: 2Questions: 1Answers: 0
I am trying to enter value more than integer limit. Ex:if i enter 50000000 the value in datatables it is displaying as 5e+00. How should I set data type value to accept double and float data types.
This discussion has been closed.
Answers
There is no such thing in Javascript. The MDN documentation has a great summary of the data types available.
Basically the only option is to use a string for numbers that cannot be represented by the
Number
type.Allan
<td style="text-align: center;">{{$val.Max_txn_value}}</td>
here i want to display number more than 50000 . how can i do it?
Its only when you get into really large numbers that I think you'd have a problem.
Example with 50001: http://live.datatables.net/bozafuwi/1/edit .
I don't know what templating you are using, but it sounds like the issue might be there.
Allan