Colobot Wiki
Advertisement

Use this type for variables that contain only whole numbers, negative or positive. For example:

	12
	1000
	-4

To represent real numbers like 12.05 or -0.005, use the type float.

Attention[]

Do not put space or colon signs inside a number. 

For specialists[]

Numbers of the type int are represented with 32 bits.

The highest number that can be represented is (2^31)-1, that is 2'147'483'647.

The smallest number that can be represented is -(2^31), that is -2'147'483'648.

Advertisement