We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This takes advantage of the limits of the double precision numbers. It does rounding with only Addition, which is computationally efficient.
function round(num) return num + (2^52 + 2^51) - (2^52 + 2^51) end