Try this instead :
130 euro = '1699999999'
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: [ql-users] Enhanced Pop


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=15999999.99
rem euros have to be displayed officially with 2 decimals
rem or with a '-' if no decimals
rem ex. 43.21
rem ex. 43.00
rem ex. 43,-

print fdec$(euro,11,2)
rem euro is displayed correctly
euro=16999999.99
print fdec$(euro,11,2)
rem euro is not displayed correctly
rem conclusion: 15999999.99 is the highest values in euros that 
rem can be displayed.
rem not good enough for me.
rem if I'm wrong, please correct.

Rem that's not the amount of my bank account, unfortunatly :(
François Van Emelen

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

Reply via email to