As far as I remeber, FDEC$() and IDEC$() can do that (up to nine digits, the
limit of internal coding on QDOS and SMSQ)
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de François Van
Emelen
Envoyé : lundi 26 décembre 2005 21:58
À : [EMAIL PROTECTED]
Objet :
|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
Simon Goodwin did something in the DIY Toolkit.
Or just write an assmbler routine to do 32 bit numbers.
Derek
Claude Mourier 00 wrote:
As far as I remeber, FDEC$() and IDEC$() can do that (up to nine digits, the
limit of internal coding on QDOS and SMSQ)
-Message d'origine-
De :
Claude Mourier 00 schreef:
As far as I remeber, FDEC$() and IDEC$() can do that (up to nine digits, the
limit of internal coding on QDOS and SMSQ)
SNIP
Yes, I know, but that's the problem.
consider the following:
euro=1599.99
rem euros have to be displayed officially with 2 decimals
rem
Try this instead :
130 euro = '16'
140 PRINT IDEC$(euro,11,2)
And calculation is more accurate to.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de François Van
Emelen
Envoyé : mardi 27 décembre 2005 13:31
À : [EMAIL PROTECTED]
Objet : Re:
Claude Mourier 00 schreef:
Try this instead :
130 euro = '16'
140 PRINT IDEC$(euro,11,2)
And calculation is more accurate to.
SNIP
Thanks,
François Van Emelen
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm
QPCPrint:
http://www.kilgus.net/qpcprint/downloads.html
More than halve a year after the first release, QPCPrint v1.01 is now
ready for download. Yes, v1.00 was already so good that a new release
was not needed so far ;-) The main difference is that it supports
landscape printing. Registered