# Question: Rounding with Fsolve

February 06 2013 by
false
Maple

0

Hi,

I need fsolve to round down its solutions but the 'Rounding" operator doesnt work . Here's a simple example

restart;Digits:=5:Rounding=-infinity:fsolve(sin(x)=0, x=2..4);

The answer is 3.1416 but I need it to return 3.1415. There also doesnt seem to be a command to obtain the nth digit of a number, aka. digit(3, 3.14) = 4 in case I wanted to write a quick procedure to round down the answer.

Any suggestions?

Thanks,