#12 Better support for parsing numbers

closed-fixed
nobody
None
5
2010-12-01
2010-11-30
Anonymous
No

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.

Discussion

  • aalmiray
    aalmiray
    2010-12-01

    Patch applied. Thank you!

     
  • aalmiray
    aalmiray
    2010-12-01

    • status: open --> open-fixed
     
  • aalmiray
    aalmiray
    2010-12-01

    • status: open-fixed --> closed-fixed