I have a script which is using this line as part of some geocoding.
var dms = String(dmsStr).trim().replace(/^-/,'').replace(/[NSEW]$/i,'').split(/[^0-9.,]+/);
It works fine in all browsers apart from IE, which is kicking out an error.
I'm sending it parameters.
0.5501039994056782
It's not my code I'm just debugging it. I'm assuming it could be a problem with Typecasting it to a string, given that it's clearly a number.
But I'd love some feedback.