Viking Store Admin

I'd recommend a RegEx here.  Basically this will only strip out the first character if it's a "$"
the user could put in any BS data here, or maybe even a different currency altogether.

Try this:

input = input.gsub(/[^\d*\.\d*]/,"").to_f.round(2)