truncateDecimalSignificantsDown
function
truncateDecimalSignificantsDown
Signature
truncateDecimalSignificantsDown(value: T, significantDigits: number): T
Truncates (floors) decimal digits to fit within a digit budget.
Note: `significantDigits` is a digit budget, not true significant-figure rounding.
After accounting for digits in the integer part, the remaining budget is applied as
a maximum number of decimal places from the decimal point, so leading zeros in the
fractional part do count toward the budget.
This mirrors the behavior of `roundDecimalSignificantsUp`.
Parameters:
value: T
significantDigits: number
