enum round_mode { round_down = 1, round_up = 2, round_tonearest = 3, round_towardzero = 4, round_error = 99 };
Round downwards.
Round upwards.
Round toward the nearest number.
Round toward towards zero.
Error if the rounding type is unknown or an error occurred.