How to parse a value to float? When I try to parse that generate error as following
My line of code as following
float rt = float.Parse("12.50%");
Error message
System.FormatException: Input string was not in a correct format.
Please resolve my problem.
Thank in advance!
Can you answer this question?
Write Answer1 Answers