The attached zip contains 3 procedures.

Two of them are simplified algos for converting floats to null-terminating strings with restrictions: the fl2a9 allows a maximum of 9 significant (integer+decimal) digits while the fl2a18 allows a maximum of 18.

Although the fl2a18 could be used also for converting most qwords to ascii, it wouldn't cover the entire range. The algo was thus modified for the qw2a procedure so that the entire range of signed qwords (+/-9223372036854775807) would be covered.

Raymond
Posted on 2004-05-14 10:22:57 by Raymond
negative limit -9223372036854775808
Posted on 2004-05-14 13:42:54 by The Svin
negative limit -9223372036854775808

qw2a will convert that one correctly also.:tongue:

Raymond
Posted on 2004-05-14 22:41:41 by Raymond
It's 19 digits not 18
Posted on 2004-05-15 02:50:25 by The Svin