I have an output that is a string, such as: price: "0.00007784"
I'd like to convert that string to a number so as I can perform arithmetic on it (add 10% to it, for example). However, I try:
convertedPrice = int(float(number))
and I get 0 as the result.
I need the whole string converted to a number, as it is and not in scientific form.
What am I doing wrong?