Hacker News new | ask | show | jobs
by Edootjuh 5011 days ago

    try:
       f = float(someText)
    catch ValueError:
       # I just parsed you, this is crazy,
       # here's an exception, throw it maybe?
Formatted That For You