Fix the stripping of trailing zeroes to ignore non-decimal numbers.
Fix the stripping of trailing zeroes to ignore non-decimal numbers.

mglaman/pricing,happysj/pricing,commerceguys/pricing,colinodell/pricing