Or better yet, make a function macro to round any number to any decimal point. Put this at the top of your sketch:

`#define roundTo(a,b) round(a*(1/b))/(1/b)`

Here are some examples:

`float num1 = roundTo(34.789854, 0.01); //returns 34.79`

byte num2 = roundTo(34.789854, 10); //returns 30

float num3 = roundTo(34.789854, 0.1); //returns 34.8

If you want to drop the extra numbers instead of rounding them, change round to floor.