Added rounding functions to decimal and significant digits under any base (the standard 10-base is the default)