lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> Has someone any experience to share about implementing a system that deals
> with currency values?

Express your amount in cents, not dollars (or euros or reais).
You can then use integers instead of floats.
It works even in Lua versions before 5.3