+ − * /
Numeric arithmetic. + does not concatenate. * is multiply, never pointer deref.
Syntax
Section titled “Syntax”a + b - c * d / eParameters
Section titled “Parameters”None.
Return value
Section titled “Return value”A number.
Luau emit
Section titled “Luau emit”same operators
Description
Section titled “Description”Left-to-right association with usual precedence. Unary - is negation. Join text with .:.
Example
Section titled “Example”int total = coins + gems * 2;Emits:
local total: number = coins + gems * 2