float Parse with F format

  • Thread starter Thread starter jw56578
  • Start date Start date
J

jw56578

what parameters need to be sent to the Parse method to successfully
parse a string in the format of "1.1F"
 
what parameters need to be sent to the Parse method to successfully
parse a string in the format of "1.1F"

float.Parse() isn't suitable for parsing source code. You have to write
your own parser.
 
what parameters need to be sent to the Parse method to successfully
parse a string in the format of "1.1F"

You could write code to remove the F first before using the plain old
parse method
 
Back
Top