Is there a way to round a decimal to the nearest decimal place? I need code that will take an unknown number (unknown number of decimal places) and round it to the nearest decimal place.
decimal number = 0.0000029;
// *magic*
// number = 0.000003;