Giovanni wrote:
> Hi all. It's possible to have an output like the one generated by
> '%.2f' in a printf() function, in the whole maxima document? The most
> similar options i've found it's fpprintprec, but it's not the same
> (it does not control the number of decimal numbers to display).
>
I don't think there's any way to control that. (Do you really want to
print out 10^100 using %.2f?)
But if you really want to do this and know a little bit of lisp, you can
modify exploden in commac.lisp to print out floats the way you want.
Might be enough to change the "~vf" to "~v,2f". Also need to modify the
cond so that we don't use "~ve" if the number is too small or too big.
Ray