Zum Inhalt

float (Opus Funktion)

Beschreibung

Wandelt einen Wert in eine Gleitkommazahl um. Converts a value to a floating-point number. Characters become their code point; a complex value projects onto its real part; datetimes become OLE serial numbers; strings are parsed with the system locale. Arrays and matrices of any convertible element type are converted element-wise.

Argumente

Name

Typ

Beschreibung

Value

float

integer

complex

boolean

char

datetime

string

Wert, der in einen float gewandelt werden soll

Rückgabewert float

Umgewandelter Wert in float

Beispiel

Result = float(3);

Resultat: 3(.0)

Siehe auch