6
$\begingroup$

How can I specify the amount of digits after the decimal separator in output without limiting the total number of digits?

Simple question, but I could not find the answer anywhere. I did find SetPrecision. However, that let's me specify the amount of digits in total, but I am looking for a way to specify the number of digits after the decimal separator.

$\endgroup$
1

1 Answer 1

7
$\begingroup$
NumberForm[f, {∞, n}]

with n being the number of digits beyond the decimal separator

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.