| Package | com.whirled.contrib.hackproof |
| Class | public class HPNumber |
| Inheritance | HPNumber flash.events.EventDispatcher |
Also, HPNumbers will not have all of their parts garbage collected, so if a large number of them are used in a program, memory leakage will occur. If you need to use HPNumbers in disposable objects, it is recommended that you use the HPReuseManager to allocate and deallocate HPNumbers as needed.
Under the hood, HPNumber is actually stored using two HPInts.
| Property | Defined by | ||
|---|---|---|---|
| value : Number Contains the floating-point number value.
| HPNumber | ||
| Method | Defined by | ||
|---|---|---|---|
|
HPNumber()
Creates a new HPNumber with the default value of 0.
| HPNumber | ||
|
verifyAll():Boolean
[static] Used to verify the master checksum for HPNumber.
| HPNumber | ||
| value | property |
value:Number [read-write]Contains the floating-point number value.
Implementation public function get value():Number
public function set value(value:Number):void
| HPNumber | () | constructor |
public function HPNumber()Creates a new HPNumber with the default value of 0.
| verifyAll | () | method |
public static function verifyAll():BooleanUsed to verify the master checksum for HPNumber. This actually just calls HPInt.verifyAll().
ReturnsBoolean |