integer (Opus Funktion)
Inhaltsverzeichnis
Beschreibung¶
Wandelt einen Wert in einen Integer (ganze Zahl) um. Converts a value to integer. Floats are truncated; strings are parsed as 64-bit integers (a "0x"-prefixed string is read as hexadecimal, e.g. "0x12ab"); colours are cast to their numeric representation; characters yield their code point; datetimes yield their (truncated) OLE serial; a complex value is truncated to its real part. Arrays and matrices of any convertible element type are converted element-wise.
Argumente¶
Name | Typ | Beschreibung |
|---|---|---|
Value | color float[] string[] color[] | Wert, der in einen integer gewandelt werden soll |
Rückgabewert integer¶
Umgewandelter Wert in integer the converted integer value, or an integer array when given an array
Beispiel¶
Resultat: 6 |
|---|