realval
Best StringToReal as EModule with Source
Short: Best StringToReal as EModule with Source
Author: subvcbhd@w271zrz.zrz.tu-berlin.de (Henk Jonas)
Uploader: subvcbhd w271zrz zrz tu-berlin de
Type: dev/e
Architecture: m68k-amigaos
Requirement: - any Amiga
- OS 2.0+
- The E Compiler V3.0+
What is it?
Cause the original 'RealVal' gives wrong values if your number too long
and it dont support xxxEyy as xxx*10^yy. This thing fix it!
Syntax are:
n:=realval(s,{x})
With n the number of parsed characters from start of the string or 0 if
not float value are founded, s the string and x the float.
ATTENTION: realval DONT skip leading spaces or tabs, in this case you
must use n:=realval(TrimStr(s),{x}) to fix this.
Copyright:
This Software is free to use. I give you all rights to do with this what you want.
Gratis
Desde el Amiga: abre Hangar y busca realval.
| Autor | subvcbhd@w271zrz.zrz.tu-berlin.de (Henk Jonas) |
|---|---|
| Categoría | dev/e |
| Tamaño | 1 KB |
| Para | m68k-amigaos |
| Origen | Aminet |