to_float.de

ldmud-3.3.719/doc/efun.de/to_float.de · 625 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
        float to_float(int arg);
        float to_float(string arg);
        float to_flaot(float arg);

        (float)<value>

BESCHREIBUNG
        Integers werden zu Floats erweitert, Strings werden in Floats
        konvertiert bis zum ersten Zeichen, das nicht mehr zum Float
        gehoert. Floats werden direkt zurueck gegeben.

BUGS
        Die Cast-Schreibweise funktioniert nur, wenn der genaue Wert von
        <value> zum Zeitpunkt der Kompilierung bekannt ist. Dies wird nicht
        geaendert werden, da die Funktionsform verwendet werden kann.

SIEHE AUCH
        to_string(E), to_int(E), sscanf(E)

Site Stats

Snippets: 1791
Codebases: 571