5
$\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$
6
$\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, privacy policy and cookie policy

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