When I query my Database for the number of shares of some user, I get a strange value when converting this value to an int or a float. For instance, my query should return the value of "100" shares but when I cast this value I get "1.00". I think it has something to do with the number_format function. I could multiply by 100 but I just wanted to ask if someone else has the same problem and if it is because the number_format.
Thanks!