Subject: newbie question: print rational as decimal number
From: Harald Geyer
Date: Thu, 15 Nov 2007 23:59:26 +0100
Hi Andre,
> what am I supposed to do for printing
>
> r : 254471799841260872232137838180485/566407006423962932969881084235776;
>
> as decimal number?
>
> printf( true, "~f~%", r );
>
> does not work
float(r) does what you want.
HTH,
Harald