Sanitize percentage input into bare real number
Turn "123,456 %" into just "123.456"!
Mainly for use in C# to parse percentage as string into double.
Strip away whitespace
Replace comma with decimal point
Only allow valid numeric input
multiple commas or decimal points won't match...
Submitted by Moravuscz - a year ago