Experimented with rounding using printf instead of system functions.