How to limit the number digits of constants in displayed real numbers?
hello, when i define a function and let Sage calculate the derivatives, the constants in the output functions have many digits. example:
sage:x=var('x')
sage:f=5*x*exp(-0.1*x^2)
sage:diff(f)
Sage output:-x^2*e^(-0.100000000000000*x^2) + 5*e^(-0.100000000000000*x^2).
Is there a way to limit the number of digits?
Maybe a mod can change the title to limit the number of digits in displayed real numbers...