H
Harry
I need a function f which rounds to a given number of
signicant digits, like:
f(pi(),3) =3.14
f(pi(),5) =3.1415
f(100*pi(),3)=314
f(100*pi(),5)=314.15
How do I get this done?
signicant digits, like:
f(pi(),3) =3.14
f(pi(),5) =3.1415
f(100*pi(),3)=314
f(100*pi(),5)=314.15
How do I get this done?