The value to adjust, should be in the same decimals as minimum.
The minimum value to adjust against, should be in the same decimals as value.
value, ensuring it's a multiple of minimum.reduceByRemainder('123560', '10') // '123560'
reduceByRemainder('123560', '11') // '123552'
Returns the adjusted value to be a multiple of the minimum value. Both
valueandminimumare expected to be strings representing numbers with the same number of decimal places. The adjustment ensures that the returned value is a multiple of theminimumand is less than or equal to the originalvalue.