مدیر کل انجمن
- تاریخ ثبتنام
This is not really a significant difficulty and I am adding this note here as a point of awareness because I have seen quite a few comments about rounding numbers in these forums.
Using Round2() with a high precision as the second parameter fails as shown here. The maximum precision of a (B4X/Java) Double is just under 16 digits. That precision can rise if the majority of the digits are in the mantissa (as in the given example).
It would be better if the parser reduced the precision requested to a maximum of 17.
Failing that, be aware that you may get (seriously) erroneous answers if you use high precisions with Round2().