It is culture sensitive, replace it like this:
value = value.Replace(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.PercentSymbol, "");
Then parse it.
More Related Contents:
- How to escape braces (curly brackets) in a format string in .NET
- C# convert int to string with padding zeros?
- How can I String.Format a TimeSpan object with a custom format in .NET?
- Format XML string to print friendly XML string
- Formatting doubles for output in C#
- format date in c#
- Format TimeSpan greater than 24 hour
- What does {0} mean when found in a string in C#?
- Custom numeric format string to always display the sign
- JSON formatter in C#?
- Format Number like Stack Overflow (rounded to thousands with K suffix)
- How to format a string as a telephone number in C#
- Best way to display decimal without trailing zeroes
- Format A TimeSpan With Years
- How can I format a nullable DateTime with ToString()?
- How to generically format a boolean to a Yes/No string?
- Format a number with commas and decimals in C# (asp.net MVC3)
- Use a custom thousand separator in C#
- Two Decimal places using c#
- How to split string preserving whole words?
- How do I format a Decimal to a programatically controlled number of decimals in c#?
- Changing font for richtextbox without losing formatting
- Format a number with commas and decimals in C#
- How can i format 07/03/2012 to March 7th,2012 in c# [duplicate]
- File-size format provider
- Pad left or right with string.format (not padleft or padright) with arbitrary string
- Format Strings in Console.WriteLine method
- Formatting Numbers as Strings with Commas in place of Decimals
- Formatting Large Numbers with .NET
- EPPlus – LoadFromCollection – Text converted to number