hi,
My code allows me to download the mkt cap from Yahoo. however, the mkt cap shows up as 28.04B or 376.92M.
when I dump the values into the db, they go in as 28 or 377, which is obviously not correct.
is there a way I can look up the mkt cap and if it ends with a B, multiply by a billion and if M, multiply by a million, and then insert the correct values into the db.
Could you please help me figure it out? thanks!