This function rounds a number down to the nearest integer multiple based on a given significance, and handles negative numbers by rounding either toward or away from zero, contingent on the chosen mode.
This function rounds a number down to the nearest integer multiple based on a given significance, and handles negative numbers by rounding either toward or away from zero, contingent on the chosen mode.