12.3*70.95 a little bit weird



On Tue, 29 Nov 2011, Dan wrote:
> %i1)  12.3*70.95
> %o1) 872.6850000000001
> [...]
> Could anyone give some suggestions on how to do it correctly?

(%i1) 123/10 * 7095/100, numer;
(%o1)                               872.685

or

(%i2) fpprintprec:8;
(%o2)                                  8
(%i3) 12.3*70.95;
(%o3)                               872.685

-- 
Regards,
ASK