Ask about general coding issues or problems here.
1 post • Page 1 of 1
Use a data type large enough to hold the number and you won't have a problem. For int your threshold is around 2 billion. if you use float or double, you expand the size of the container and it works properly.
Who is online
Users browsing this forum: Baidu [Spider] and 4 guests