Question: round to a certain number of digits after the decimal point

How do I round to a certain number of digits after the decimal point? Is there an easier way than the one shown below? > number:=12.3678918; > before:=trunc(number); > after:=number-before; > afterrounded:=evalf[2](after); > roundednumber:=before+afterrounded;
Please Wait...