#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

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-11-30
     
  • 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
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks