[EMAIL PROTECTED] wrote:
On 10 Mar 2003 at 13:36, Fran�ois Van Emelen wrote:Sorry for the delay, but I couldn't reply earlier; UPC (cable company) was down yesterday afternoon and evening.
Hi all,
How can I force Sbasic to display correct and readable numeric values? Here is an example of what I mean.
(rest cut)
Why not use print_using?
Mind you, as Marcel pointed out, this does not get rid of the calculation errors, but it does print out nicely (to about 9 figures, IIRC).
Wolfgang
Why I don't use PRINT_USING, well because it has the same limits as FDEC$,ie 9 digits, which is not enough to display (for example) the annual amount of euros the European Community spends for Education:
776.4 million euros with should be displayed as '776400000.00'. And that is more than 9 digits.
Archive, Abacus and calc (small calculator under ProWesS) can display much larger floating point values (and can be used in calculations). Does that mean those programmes have their own FP routines? If so, can't those routines be emulated in SBASIC? Or is this a stupid question?
Thanks for your help. Fran�ois Van Emelen
