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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top