«« Next » « Previous
«« Next » « Previous

Link Details

Our ESP isn't working very well. Login and vote now.
Link 81006 thumbnail

By bloid
via chasethedevil.blogspot.com
Submitted: May 14 2008 / 15:42

A friend of mine recently noticed that the good old DecimalFormat class is "broken". If you try to parse a string that is not a number but is starting with a number, the DecimalFormat.parse will return what it managed to parse.
  • 2
  • 0
  • 126
  • 21

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (0)