Category:LSL Integer

From InWorldz Wiki
(Redirected from Integer)
Jump to: navigation, search


Scripting Wiki

InWorldz Functions | LSL Functions | Bot / NPC Functions | Events | Bot Events | Types | Operators | Constants | Flow Control | Glossary

Integer

An integer is a whole number and does not include a decimal point. In LSL, the integer data type is a signed 32-bit number between −2,147,483,648 (0x80000000 hex) and +2,147,483,647 (0x7FFFFFFF hex).

Examples

integer posint = 25;
integer negint = -407;
integer hexint = 0x61EC1A;

Notes

  • DEBUG_CHANNEL can be used as a constant for the largest positive integer (2,147,483,647), since that is the channel number for script debugging.

Pages in category "LSL Integer"

The following 96 pages are in this category, out of 96 total.