Floors the given value to the specified number of decimal places.