Conversion Routines
41 nodes
On this page 41
Boolean to Text
FunctionConverts a boolean to its string representation.
BoolToString(input: Truth) -> Text
string BoolToString(bool input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Truth | — | The boolean value to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Number Byte to Text
FunctionConverts a byte to its string representation.
ByteToString(input: Byte) -> Text
string ByteToString(byte input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Byte | — | The byte value to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Character to Text
FunctionConverts a char to its string representation.
CharToString(input: Char) -> Text
string CharToString(char input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Char | — | The char to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Convert Value Type
FunctionConverts the specified input to the type T.
ConvertTo(input: Any) -> T
T ConvertTo(object input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Any | — | The input object to convert. |
Returns
| Result | T |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
High Accuracy Number (decimal) to Text
FunctionConverts a decimal to its string representation.
DecimalToString(input: High Accuracy Number) -> Text
string DecimalToString(decimal input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | High Accuracy Number | — | The decimal to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Number to Text
FunctionWrites a number as text in the one spelling every machine shares: a dot for the decimal point and no grouping, such as 1.5.
DoubleToString(input: Number) -> Text
string DoubleToString(double input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Number | — | The double value to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Low Accuracy Number (float) to Text
FunctionConverts a float to its string representation.
FloatToString(input: Low Accuracy Number) -> Text
string FloatToString(float input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Low Accuracy Number | — | The float to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Integer to Text
FunctionConverts an integer to its string representation.
IntToString(input: Integer) -> Text
string IntToString(int input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Integer | — | The integer to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Large Number to Text
FunctionConverts a long to its string representation.
LongToString(input: Large Integer) -> Text
string LongToString(long input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Large Integer | — | The long value to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Small Integer (short) to Text
FunctionConverts a short to its string representation.
ShortToString(input: Small Integer) -> Text
string ShortToString(short input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Small Integer | — | The short to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Signed Number Byte to Text
FunctionConverts an sbyte to its string representation.
SignedByteToString(input: SByte) -> Text
string SignedByteToString(sbyte input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | SByte | — | The sbyte to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Boolean
FunctionConverts a string to a boolean.
StringToBool(input: Text) -> Truth
bool StringToBool(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
String To Byte
FunctionConverts a string to a byte-sized integer.
StringToByte(input: Text) -> Byte
byte StringToByte(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Byte |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Character
FunctionConverts a string containing a single character to a char.
StringToChar(input: Text) -> Char
char StringToChar(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. Must contain exactly one character. |
Returns
| result | Char |
Remarks
For char conversion, we assume the input string should contain exactly one character.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to High Accuracy Number (decimal)
FunctionConverts a string to a decimal.
StringToDecimal(input: Text) -> High Accuracy Number
decimal StringToDecimal(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | High Accuracy Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Number
FunctionReads a number from text in the one spelling every machine shares: a dot for the decimal point and no grouping, such as 1.5 or -2.25e3. Text in a region's own spelling, such as 1,5, is refused rather than misread.
StringToDouble(input: Text) -> Number
double StringToDouble(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Low Accuracy Number (float)
FunctionConverts a string to a float.
StringToFloat(input: Text) -> Low Accuracy Number
float StringToFloat(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Low Accuracy Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Integer
FunctionConverts a string to an integer.
StringToInt(input: Text) -> Integer
int StringToInt(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Lines
FunctionThis node carries no documentation.
StringToLines -> Text Array
input: Text
ignoreEmptyLines: Truth
trimEntries: Truthstring[] StringToLines(
string input,
bool ignoreEmptyLines,
bool trimEntries)Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | |
| ignoreEmptyLines | Truth | — | |
| trimEntries | Truth | — |
Returns
| result | Text Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Large Integer
FunctionConverts a string to a long.
StringToLong(input: Text) -> Large Integer
long StringToLong(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Large Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Small Integer (short)
FunctionConverts a string to a short.
StringToShort(input: Text) -> Small Integer
short StringToShort(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Small Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Signed Number Byte
FunctionConverts a string to a signed byte (sbyte).
StringToSignedByte(input: Text) -> SByte
sbyte StringToSignedByte(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | SByte |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Unsigned Integer (uint)
FunctionConverts a string to an unsigned integer (uint).
StringToUInt(input: Text) -> Positive Integer
uint StringToUInt(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Positive Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Unsigned Large Integer (ulong)
FunctionConverts a string to an unsigned long (ulong).
StringToULong(input: Text) -> Large Positive Integer
ulong StringToULong(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Large Positive Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Text to Unsigned Small Integer (ushort)
FunctionConverts a string to an unsigned short (ushort).
StringToUShort(input: Text) -> Small Positive Integer
ushort StringToUShort(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Small Positive Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Number Byte
FunctionThis node carries no documentation.
ToByte(value: Any) -> Byte
byte ToByte(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | Byte |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to High Accuracy Number
FunctionThis node carries no documentation.
ToDecimal(value: Any) -> High Accuracy Number
decimal ToDecimal(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | High Accuracy Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Number
FunctionThis node carries no documentation.
ToDouble(value: Any) -> Number
double ToDouble(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Low Accuracy Number
FunctionThis node carries no documentation.
ToFloat(value: Any) -> Low Accuracy Number
float ToFloat(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | Low Accuracy Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Integer
FunctionThis node carries no documentation.
ToInteger(value: Any) -> Integer
int ToInteger(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Large Integer
FunctionThis node carries no documentation.
ToLong(value: Any) -> Large Integer
long ToLong(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | Large Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Small Integer
FunctionThis node carries no documentation.
ToShort(value: Any) -> Small Integer
short ToShort(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | Small Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Signed Number Byte
FunctionThis node carries no documentation.
ToSignedByte(value: Any) -> SByte
sbyte ToSignedByte(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | SByte |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Unsigned Integer
FunctionThis node carries no documentation.
ToUInteger(value: Any) -> Positive Integer
uint ToUInteger(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | Positive Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Unsigned Large Integer
FunctionThis node carries no documentation.
ToULong(value: Any) -> Large Positive Integer
ulong ToULong(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | Large Positive Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Value to Unsigned Small Integer
FunctionThis node carries no documentation.
ToUShort(value: Any) -> Small Positive Integer
ushort ToUShort(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| result | Small Positive Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Unsigned Integer (uint) to Text
FunctionConverts a uint to its string representation.
UIntToString(input: Positive Integer) -> Text
string UIntToString(uint input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Positive Integer | — | The uint to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Unsigned Large Integer (ulong) to Text
FunctionConverts an ulong to its string representation.
ULongToString(input: Large Positive Integer) -> Text
string ULongToString(ulong input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Large Positive Integer | — | The ulong to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Unsigned Small Integer (ushort) to Text
FunctionConverts a ushort to its string representation.
UShortToString(input: Small Positive Integer) -> Text
string UShortToString(ushort input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Small Positive Integer | — | The ushort to convert. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
Bytes to UTF8
FunctionConverts UTF8 bytes to its string representation.
UTF8BytesToString(bytes: Byte Array) -> Text
string UTF8BytesToString(byte[] bytes)
Parameters
| name | type | default | description |
|---|---|---|---|
| bytes | Byte Array | — | The UTF-8 encoded bytes to decode. Byte sequences that are not valid UTF-8 are replaced with the Unicode replacement character (U+FFFD) rather than causing an error. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library
UTF8 to Bytes
FunctionConverts a UTF8 encoded string to bytes.
UTF8StringToBytes(input: Text) -> Byte Array
byte[] UTF8StringToBytes(string input)
Parameters
| name | type | default | description |
|---|---|---|---|
| input | Text | — | The string to convert. |
Returns
| result | Byte Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Conversion Routines
- Package
- Standard Library