home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 10
/
aminetcdnumber101996.iso
/
Aminet
/
dev
/
e
/
realval.readme
< prev
next >
Wrap
Text File
|
1996-01-05
|
1KB
|
34 lines
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
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.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
714 436 38.9% 06-Dec-95 01:20:48 REALVAL.REA
1150 495 56.9% 06-Dec-95 01:34:56 realval.e
898 447 50.2% 06-Dec-95 01:34:56 realval.m
-------- ------- ----- --------- --------
2762 1378 50.1% 08-Dec-95 16:11:22 3 files