BEGENNER HELP" again!
18-Oct-95 11:23:54
Sb: #48536-BEGENNER HELP" again!
Fm: Dan Namay 102062,3533
To: Douglas Hornal 72637,2714
> I'll try that. On a side note, CAN the amiga do perfact addition,
subtraction, * and / with decimal without errors? BTW, i tryed
printf("%7.000000\n, number);…It dident work. oh well. Thanks for the
pointer! 🙂 -Daniel (useing my dads account)
Dan,
Try:
printf (%7.6f\n", variable);
The "7" is the number of Whole Number places the computer prints. The "6" is
the number of Decimal places the computer prints.
As to "perfect" subtraction, * and / with decimal without errors, I'm not too
sure about that.
Wolf Pup
– Howlin' at the Net, Six-Packin' & Diggin'