prepareText(count, numLength, multiplicator) {
        var text = Math.round(count).toString();
        if (numLength > 0) {
            while (text.length < numLength) {
                text = '0' + text;
            }
        }
        if ((count - Math.floor(count)) > 0) {
            var decimals = (Math.round((count - Math.floor(count)) * multiplicator) / multiplicator).toString().substr(1);
            if (numLength > 0)
                text += this.alignDecimals(multiplicator, decimals);
            else
                text += decimals;
        }
        else if (multiplicator > 1 && numLength > 0) {
            text += this.alignDecimals(multiplicator);
        }
        return text;
    }
/**
     * prepareText - pad with zeros the number and round the decimal part to step decimals.
     *
     * @param  {float} count       result of the i-th sum
     * @param  {int} numLength     max length of the positive part of count
     * @param  {int} multiplicator number which if it's multiplied to any count it results an integer, so,
     *                             if casted to string it represents the length of decimal area including point
     * @return {string}            number to write
     */
pad with zeros the number and round the decimal part to step decimals.
@param  {float} count       result of the i-th sum
@param  {int} numLength     max length of the positive part of count
@param  {int} multiplicator number which if it's multiplied to any count it results an integer, so,
if casted to string it represents the length of decimal area including point
@return {string}            number to write
pad with zeros the number and round the decimal part to step decimals . @param { float } count result of the i - th sum @param { int } numLength max length of the positive part of count @param { int } multiplicator number which if it ' s multiplied to any count it results an integer so if casted to string it represents the length of decimal area including point @return { string } number to write
prepareText(count, numLength, multiplicator) {
        var text = Math.round(count).toString();
        if (numLength > 0) {
            while (text.length < numLength) {
                text = '0' + text;
            }
        }
        if ((count - Math.floor(count)) > 0) {
            var decimals = (Math.round((count - Math.floor(count)) * multiplicator) / multiplicator).toString().substr(1);
            if (numLength > 0)
                text += this.alignDecimals(multiplicator, decimals);
            else
                text += decimals;
        }
        else if (multiplicator > 1 && numLength > 0) {
            text += this.alignDecimals(multiplicator);
        }
        return text;
    }
prepareText ( count , numLength , multiplicator ) { var text = Math . round ( count ) . toString ( ) ; if ( numLength > 0 ) { while ( text . length < numLength ) { text = '0' + text ; } } if ( ( count - Math . floor ( count ) ) > 0 ) { var decimals = ( Math . round ( ( count - Math . floor ( count ) ) * multiplicator ) / multiplicator ) . toString ( ) . substr ( 1 ) ; if ( numLength > 0 ) text += this . alignDecimals ( multiplicator , decimals ) ; else text += decimals ; } else if ( multiplicator > 1 && numLength > 0 ) { text += this . alignDecimals ( multiplicator ) ; } return text ; }
prepareText - pad with zeros the number and round the decimal part to step decimals.
prepareText - pad with zeros the number and round the decimal part to step decimals .