int class

Description

Represents a 32 bit signed integer.

Notes

This class is a standard built-in class in the Rice language.

Instance that is created by declaration have been already initialized.

The initial value is 0.

The maximum value is 2,147,483,647.

The minimum value is -2,147,483,648.

fitter

SignatureDescription
int()

Get a new instance of int class with initial value.

int(int)

Get a new instance of int class with the same value as the argument.

getter

SignatureDescription
B

Get an instance of bool type with converted value from int value.

Fitted

Gets the value that indicates whether this instance was already initialized.

I

Gets an another instance of the int type with the same value.

L

Gets an instance of the long type with the same value.

Max

Returns the maximum value of the int type.

Min

Returns the minimum value of the int type.

R

Gets an instance of the real type with the same value.

S

Gets a string representation of the int value.

TypeName

Gets the type name.

setter

SignatureDescription
Value(int)

This setter will change only the value without changing the reference value.

method

SignatureDescription
Clone()

Gets a new instance with the same value as the calling instance.

Dec()

After returning a new instance with the current value, decrement the value of the caller instance by one.

Dec(int)

After returning a new instance with the current value, decrement the value of the caller instance by the argument.

Hex()

Gets a string that represents the hexadecimal value.

Inc()

After returning a new instance with the current value, increment the value of the caller instance by one.

Inc(int)

After returning a new instance with the current value, increment the value of the caller instance by the argument.

Oct()

Gets a string that represents the octal value.

ToString()

Gets a string representation of the integer value.

Copyright © Rice All rights reserved.