Template:Rnd

This template rounds to  decimal places (goes the other way for negatives), includes trailing zeros & avoids E notation.