toNumber
Last updated
Last updated
Any number or text is converted to number type.
Name | Description | Input Type | Default | Options | Required |
---|---|---|---|---|---|
Description | Output Type |
---|---|
In this example, we will convert a string to number and print the result in the console.
Call the function Conversion.toNumber
inside the Log.write
function.
Enter the value for the Conversion.toNumber
function. In this example, we will enter 12.
The console will print 12
.
value
The value to be converted to number.
Text / Number
-
-
Yes
Returns the converted value as number type.
Number