Quantcast
Viewing all articles
Browse latest Browse all 5369

SDK • Re: Lua math issue

An example: The value you got was -4.371139e-08. Scale it using 1e05 for a calculation where you need an integer and it becomes -0.004371139 and then it is rounded to 0. So for applications where you require 6 or less significant digits, you will still get accurate results. For regular stuff needing 4 or 5 significant digits, I wouldn't worry about anything.

Statistics: Posted by katak255 — Mon Jul 22, 2024 3:10 pm



Viewing all articles
Browse latest Browse all 5369

Trending Articles