|Still hoping someone will write a routine to print/display |large 
|and very small numeric values in a readable way; I can read
|'9,876,543,210.00' but not 9.87653954E9   :( 

The FPU on a Q40 can produce numbers up to about 24 significant digits in BCD 
format. I used that to print FP numbers of up to that size.

An integer held as a QL variable is restricted to 2^31 (or so). Thus the number 
9876543210 can only be held in the QL in fp format. But the mantissa is not 
long enough to hold all 10 digits so you could never expect to print them all. 
However, it is quite easy to print as many significant digits as are available, 
and with preceding or succeeding zeroes (as many as you like) to replace the 
rather nasty 34E40 notation.

I'm sure I have done this in the past, but never thought it worth while 
publishing it!

George

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to