Difference between revisions of "ObjectType:int"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
== Description ==
 +
Short for <tt>integer</tt>, an int is a whole number that can be represented in 32 bits.  This datatype is limited to the numbers -2,147,483,648 to 2,147,483,647.
 +
 
== Members ==
 
== Members ==
 
* [[DataType:float|float]] '''Float''': This number, converted to a float
 
* [[DataType:float|float]] '''Float''': This number, converted to a float

Revision as of 06:24, 22 February 2005

Description

Short for integer, an int is a whole number that can be represented in 32 bits. This datatype is limited to the numbers -2,147,483,648 to 2,147,483,647.

Members

  • float Float: This number, converted to a float
  • string Hex: A hexadecimal string equivalent to this number
  • int Reverse: This number, with its bytes reversed (1234 is turned into 3523477504.. easier to see in hex: 00 00 04 D2 -> D2 04 00 00)

Returns

The string representation of this number

Examples

See Also