function toRawFixed(x, minInteger, minFraction, maxFraction) {
        var cut = maxFraction - minFraction;
        var m = x.toFixed(maxFraction);
        while (cut > 0 && m[m.length - 1] === '0') {
            m = m.slice(0, m.length - 1);
            cut--;
        }
        if (m[m.length - 1] === '.') {
            m = m.slice(0, m.length - 1);
        }
        var int = m.split('.')[0].length;
        if (int < minInteger) {
            var z = '';
            for (; z.length < minInteger - int; z += '0')
                ;
            m = z + m;
        }
        return m;
    }
https://tc39.es/ecma402/#sec-torawfixed
@param x
@param minInteger
@param minFraction
@param maxFraction