6

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.

m_goldberg
  • 107,779
  • 16
  • 103
  • 257
GambitSquared
  • 2,311
  • 15
  • 23

1 Answers1

7
NumberForm[f, {∞, n}]

with n being the number of digits beyond the decimal separator

m_goldberg
  • 107,779
  • 16
  • 103
  • 257
GambitSquared
  • 2,311
  • 15
  • 23