Champagne Floats
Suppose you've got a string that contains a floating point number: "3.5" or "2.5E-3". Your goal is to get a float from that number. There are a few different techniques to try... If you're familiar with parseDouble(), you could use that and then cast:…