Hi all,
I am trying to solve a math issue in Corona which I have not been able to do so far - maybe you can help.
Here is the problem: I need to do fractions where the denumerator can be very, very large (e.g. 1234500000 / 4756). I need the result of the division to be precise which means that the result of the division needs to show decimals (if any). However, in the example above, Corona handles the division as follows 1.235E+09 / 4756. If I print the result of the division to the console I will not see any decimals. I guess this is because I am using quite large denumerators where Corona just rounds the result.
However, I really need to see the decimals. Is there any way this can be solved? Is there something like “BigInteger”? I am really stuck here.
Many thanks,
Jens [import]uid: 101883 topic_id: 23397 reply_id: 323397[/import]