> For the complete documentation index, see [llms.txt](https://enls.gitbook.io/rgss-reference-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enls.gitbook.io/rgss-reference-manual/standard-library/built-in-classes/object/numeric/integer/fixnum.md).

# Fixnum

The class for fixed-length integers that fit into the machine's pointer, which is usually 31 bits long. If the result of an operation is out of Fixnum range, it is automatically extended into a Bignum.

### Superclass

* Integer

### Methods

id2name

Returns the string corresponding to a Symbol integer (obtained with Symbol#to\_i). If there is no symbol that corresponds to the integer, returns nil.

to\_sym

Returns the Symbol object corresponding to the integer value of the object's self. If there is no symbol that corresponds to the integer, returns nil.
