static forceDecimalPlaces(value, decimalPlaces) {
        // We could make sure `decimalPlaces` is an integer and positive, but we'll leave that to the dev calling this function.
        const [integerPart, decimalPart] = String(value).split('.');
        if (!decimalPart) {
            return value;
        }

        return `${integerPart}.${decimalPart.substr(0, decimalPlaces)}`;
    }
Return the given raw value truncated at the given number of decimal places `decimalPlaces`.
This function does not round the value.

@example
forceDecimalPlaces(123.45678, 0) -> '123.45678'
forceDecimalPlaces(123.45678, 1) -> '123.4'
forceDecimalPlaces(123.45678, 2) -> '123.45'
forceDecimalPlaces(123.45678, 3) -> '123.456'

@param {number} value
@param {int} decimalPlaces
@returns {number|string}