Is there a way that I can control the number of decimal places a number has?

For instance if a calculation = 5.42343423456453454

can I make this 5.42?