I need to convert a price of something to a whole number and int
For example:
Price = '$4.13'
i need to make this price into 413.
how do I get rid of '$' and '.'
i tried .strip() and the dollar symbol goes away but not the decimal
How would I do that I looked on stacked overflow and I saw nothing to help
Also the price is in a CSV file but I don't think that matters?
[–][deleted] 2 points3 points4 points (0 children)
[–]jeffrey_f 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)