code: function _gpfToBaseANY (base, value, formattingOptions) {
      var length = formattingOptions.length,
          paddingLength = length || 1,
          paddingChars = formattingOptions.pad || base.charAt(0);
      return _gpfToBaseAnyPad(_gpfToBaseAnyEncode({
          base: base,
          value: value
      }, length), paddingLength, paddingChars).join("");
  }
docs: Encodes the value within the specified base.
  Result string length can be defined (formattingOptions.length) and missing characters will be added from
  formattingOptions.pad
  
  @param {String} base values
  @param {Number} value to encode
  @param {Object} formattingOptions
  - {Number} [length=undefined] length of encoding
  - {String} [pad="0"] pad
  @return {String}