NumberValue¶
A container object for a single double-precision floating point number.
Description¶
Store a single Luau number, defined to be double-precision floating point number, or more commonly known as a double. This stores a number in 64 bits (8 bytes) using the IEEE 754 representation (1 sign bit, 11 exponent bits and 52 fractional bits). Maximum and minimum values are ±1.7976931348623157e+308, with a range of ±2^53 for exact integer representations.
Like all ValueBase objects, this single value is stored in the
Value property. The Changed event fires with the
new value being stored in the object, instead of a string representing the
property being changed.
Inheritance¶
Object → Instance → ValueBase → NumberValue
Nova inheritance: Instance → NumberValue
Properties¶
Value Supported Property Used to hold a double value.
Events¶
Changed Supported Event Fires whenever the NumberValue.Value is changed.
Fires whenever the NumberValue.Value is changed.
Fires whenever the NumberValue.Value changes. It runs with the new value being stored in the argument object, instead of a string representing the property being changed.
Listening for the Changed signal can be useful in games that use
NumberValues to track values like leaderboard statistics or item prices.
changed Supported Event Deprecated
No description available.
Inherited members¶
Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.
Roblox reference: NumberValue
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.