I want to use the floor division (int division) operator //. Luau documentation (1)(2) claims to support this. The Roblox script editor red-underlines the second / and errors with Expected identifier when parsing expression, got '/' when run.
Is this a bug? Does Roblox support the // operator or not?
NOTE: I knowmath.floor(a / b)works; that is not my issue. I am specifically asking about the//operator.
Roblox does not use Lua 5.1 anymore. Look at the Luau documentation I linked. It directly specifies support for the // operator among other Lua 5.2~5.4 features.