15 02 2013
Recently I was doing string casting to a number and while you think it’s simple as it is, it took me a bit to make it fully functional. My first approach was to use a Number constructor for casting, which would return number or NaN if value was not parsable to the number. But for […]