lua-users home
lua-l archive

Re: Lua 5.3 Integer

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


On 09/10/2019 04.41, D Burgess wrote:
Is there any way to enforce integer arithmetic in Lua 5.3
e.g.
x = 5 / 2 -- => 2
where x is an integer?
Do you mean 5//2? Or in general?
-- nobody

AltStyle によって変換されたページ (->オリジナル) /