Better support for parsing numbers
Brought to you by:
aalmiray
This patch uses org.apache.commons.lang.math.NumberUtils#createNumber() to parse a string as a Number.
Benefits of this include:
- Numbers larger than 2^63-1 get parsed as a BigInteger rather than a float.
- Parses numbers as Long, Float, Integer, Float, Short, BigDecimal, BigInteger and Byte when appropriate.
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
Patch applied. Thank you!