Divooka Reference

Conversion Routines

41 nodes

On this page 41

Boolean to Text

Function

Converts a boolean to its string representation.

Signature
BoolToString(input: Truth) -> Text
string BoolToString(bool input)

Parameters

nametypedefaultdescription
inputTruth—The boolean value to convert.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Number Byte to Text

Function

Converts a byte to its string representation.

Signature
ByteToString(input: Byte) -> Text
string ByteToString(byte input)

Parameters

nametypedefaultdescription
inputByte—The byte value to convert.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Character to Text

Function

Converts a char to its string representation.

Signature
CharToString(input: Char) -> Text
string CharToString(char input)

Parameters

nametypedefaultdescription
inputChar—The char to convert.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Convert Value Type

Function

Converts the specified input to the type T.

Signature
ConvertTo(input: Any) -> T
T ConvertTo(object input)

Parameters

nametypedefaultdescription
inputAny—The input object to convert.

Returns

ResultT
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

Function

Converts a decimal to its string representation.

Signature
DecimalToString(input: High Accuracy Number) -> Text
string DecimalToString(decimal input)

Parameters

nametypedefaultdescription
inputHigh Accuracy Number—The decimal to convert.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Number to Text

Function

Writes a number as text in the one spelling every machine shares: a dot for the decimal point and no grouping, such as 1.5.

Signature
DoubleToString(input: Number) -> Text
string DoubleToString(double input)

Parameters

nametypedefaultdescription
inputNumber—The double value to convert.

Returns

resultText
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

Function

Converts a float to its string representation.

Signature
FloatToString(input: Low Accuracy Number) -> Text
string FloatToString(float input)

Parameters

nametypedefaultdescription
inputLow Accuracy Number—The float to convert.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Integer to Text

Function

Converts an integer to its string representation.

Signature
IntToString(input: Integer) -> Text
string IntToString(int input)

Parameters

nametypedefaultdescription
inputInteger—The integer to convert.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Large Number to Text

Function

Converts a long to its string representation.

Signature
LongToString(input: Large Integer) -> Text
string LongToString(long input)

Parameters

nametypedefaultdescription
inputLarge Integer—The long value to convert.

Returns

resultText
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

Function

Converts a short to its string representation.

Signature
ShortToString(input: Small Integer) -> Text
string ShortToString(short input)

Parameters

nametypedefaultdescription
inputSmall Integer—The short to convert.

Returns

resultText
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

Function

Converts an sbyte to its string representation.

Signature
SignedByteToString(input: SByte) -> Text
string SignedByteToString(sbyte input)

Parameters

nametypedefaultdescription
inputSByte—The sbyte to convert.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Text to Boolean

Function

Converts a string to a boolean.

Signature
StringToBool(input: Text) -> Truth
bool StringToBool(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

String To Byte

Function

Converts a string to a byte-sized integer.

Signature
StringToByte(input: Text) -> Byte
byte StringToByte(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultByte
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Text to Character

Function

Converts a string containing a single character to a char.

Signature
StringToChar(input: Text) -> Char
char StringToChar(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert. Must contain exactly one character.

Returns

resultChar

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)

Function

Converts a string to a decimal.

Signature
StringToDecimal(input: Text) -> High Accuracy Number
decimal StringToDecimal(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultHigh 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

Function

Reads 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.

Signature
StringToDouble(input: Text) -> Number
double StringToDouble(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultNumber
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)

Function

Converts a string to a float.

Signature
StringToFloat(input: Text) -> Low Accuracy Number
float StringToFloat(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultLow 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

Function

Converts a string to an integer.

Signature
StringToInt(input: Text) -> Integer
int StringToInt(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Text to Lines

Function

This node carries no documentation.

Signature
StringToLines -> Text Array
    input: Text
    ignoreEmptyLines: Truth
    trimEntries: Truth
string[] StringToLines(
    string input,
    bool ignoreEmptyLines,
    bool trimEntries)

Parameters

nametypedefaultdescription
inputText—
ignoreEmptyLinesTruth—
trimEntriesTruth—

Returns

resultText 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

Function

Converts a string to a long.

Signature
StringToLong(input: Text) -> Large Integer
long StringToLong(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultLarge 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)

Function

Converts a string to a short.

Signature
StringToShort(input: Text) -> Small Integer
short StringToShort(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultSmall 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

Function

Converts a string to a signed byte (sbyte).

Signature
StringToSignedByte(input: Text) -> SByte
sbyte StringToSignedByte(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultSByte
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)

Function

Converts a string to an unsigned integer (uint).

Signature
StringToUInt(input: Text) -> Positive Integer
uint StringToUInt(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultPositive 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)

Function

Converts a string to an unsigned long (ulong).

Signature
StringToULong(input: Text) -> Large Positive Integer
ulong StringToULong(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultLarge 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)

Function

Converts a string to an unsigned short (ushort).

Signature
StringToUShort(input: Text) -> Small Positive Integer
ushort StringToUShort(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultSmall 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

Function

This node carries no documentation.

Signature
ToByte(value: Any) -> Byte
byte ToByte(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultByte
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

Function

This node carries no documentation.

Signature
ToDecimal(value: Any) -> High Accuracy Number
decimal ToDecimal(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultHigh 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

Function

This node carries no documentation.

Signature
ToDouble(value: Any) -> Number
double ToDouble(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultNumber
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

Function

This node carries no documentation.

Signature
ToFloat(value: Any) -> Low Accuracy Number
float ToFloat(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultLow 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

Function

This node carries no documentation.

Signature
ToInteger(value: Any) -> Integer
int ToInteger(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Value to Large Integer

Function

This node carries no documentation.

Signature
ToLong(value: Any) -> Large Integer
long ToLong(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultLarge 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

Function

This node carries no documentation.

Signature
ToShort(value: Any) -> Small Integer
short ToShort(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultSmall 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

Function

This node carries no documentation.

Signature
ToSignedByte(value: Any) -> SByte
sbyte ToSignedByte(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultSByte
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Value to Unsigned Integer

Function

This node carries no documentation.

Signature
ToUInteger(value: Any) -> Positive Integer
uint ToUInteger(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultPositive 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

Function

This node carries no documentation.

Signature
ToULong(value: Any) -> Large Positive Integer
ulong ToULong(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultLarge 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

Function

This node carries no documentation.

Signature
ToUShort(value: Any) -> Small Positive Integer
ushort ToUShort(object value)

Parameters

nametypedefaultdescription
valueAny—

Returns

resultSmall 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

Function

Converts a uint to its string representation.

Signature
UIntToString(input: Positive Integer) -> Text
string UIntToString(uint input)

Parameters

nametypedefaultdescription
inputPositive Integer—The uint to convert.

Returns

resultText
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

Function

Converts an ulong to its string representation.

Signature
ULongToString(input: Large Positive Integer) -> Text
string ULongToString(ulong input)

Parameters

nametypedefaultdescription
inputLarge Positive Integer—The ulong to convert.

Returns

resultText
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

Function

Converts a ushort to its string representation.

Signature
UShortToString(input: Small Positive Integer) -> Text
string UShortToString(ushort input)

Parameters

nametypedefaultdescription
inputSmall Positive Integer—The ushort to convert.

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

Bytes to UTF8

Function

Converts UTF8 bytes to its string representation.

Signature
UTF8BytesToString(bytes: Byte Array) -> Text
string UTF8BytesToString(byte[] bytes)

Parameters

nametypedefaultdescription
bytesByte 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

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library

UTF8 to Bytes

Function

Converts a UTF8 encoded string to bytes.

Signature
UTF8StringToBytes(input: Text) -> Byte Array
byte[] UTF8StringToBytes(string input)

Parameters

nametypedefaultdescription
inputText—The string to convert.

Returns

resultByte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Conversion Routines
Package
Standard Library