[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Currency representation in Lua
- From: "Soni L." <fakedme@...>
- Date: Mon, 5 Sep 2016 21:48:16 -0300
On 05/09/16 08:28 PM, Tim Hunter wrote:
Rounding. That’s a tricky topic. Rounding can mean many things, so be
sure to study up on it <https://en.wikipedia.org/wiki/Rounding> before
assuming you know what to do.
On Sep 5, 2016, at 5:07 PM, Doug <firstname.lastname@example.org
Also be sure to round results to the nearest integer after all
multiplications and divisions.
Oh, don't remind me of that rounding thread where we came up with 30
different code snippets just to round a number. (Anyone has a link to
it? I don't feel like looking it up .-.)
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.