Hello,
I'm taking in a string value "$333".
I need to chop of the $ and convert the 333
to a float value. It will be standard input.
thank you for any advice on completing this task.
Printable View
Hello,
I'm taking in a string value "$333".
I need to chop of the $ and convert the 333
to a float value. It will be standard input.
thank you for any advice on completing this task.
Use the atof() function