integer

Creates an integer value.

Target type

Signature

1integer(obj::any)

Creates an integer value.

integer constructs or identifies a LaiRu value type. integer is part of numeric expression work. Be deliberate about integer versus decimal inputs because several math helpers preserve or infer the result type from their arguments.

Parameters

obj
Required value of type any. Supply obj positionally unless the signature shows a keyword form.

Examples

Basic call

1integer('42')
The example keeps numeric inputs explicit so integer and decimal behavior remain visible.