decimal
Creates a decimal value.
Target
Signature
1decimal(value)Creates a decimal value.
decimal constructs or identifies a LaiRu value type. decimal 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
value- Required value. Supply
valuepositionally unless the signature shows a keyword form.
Examples
Basic call
1decimal('3.14')The example keeps numeric inputs explicit so integer and decimal behavior remain visible.