Opened 12 years ago
Closed 11 years ago
#10942 closed bug (invalid)
Make a version of isNumeric() that is compatible with parse[Int|Float]
Reported by: | jdmarshall | Owned by: | jdmarshall |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Several bugs related to data() and large numbers have been dismissed as won't fix, duplicates, or wrong characterization. For example, Ticket #10856
The resolution states that these numbers ARE numeric, and they can be converted. However, converted while chopping off significant figures can't really be considered a success.
It would be better I think to have a function similar to isNumeric() but that only returns true when the number can be successfully converted into the appropriate Javascript data type. Then the spots that do this conversion should use that version.
Change History (2)
comment:1 Changed 12 years ago by
Owner: | set to jdmarshall |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Can you explain the use case for this new version, preferably in the form of a jsFiddle.net page that demonstrates the problem?