format(round(d), nsmall = 2)

eğer olmazsa aşağıdaki şekilde deneyebilirsiniz.

format(round(d, 2), nsmall = 2)