double
Same emit as float. Write double when you want the C++ name.
Syntax
Section titled “Syntax”double name = value;Parameters
Section titled “Parameters”None.
Return value
Section titled “Return value”A value of type double, emitted as number.
Luau emit
Section titled “Luau emit”number
Description
Section titled “Description”observable double becomes NumberValue.
Example
Section titled “Example”double alpha = 0.25;Emits:
local alpha: number = 0.25