code: function ( num, integer ) {
  			var tmp, item, i,
  				transformTable, numberString, convertedNumber;
  
  			// Set the target Transform table:
  			transformTable = this.digitTransformTable( $.i18n().locale );
  			numberString = '' + num;
  			convertedNumber = '';
  
  			if ( !transformTable ) {
  				return num;
  			}
  
  			// Check if the restore to Latin number flag is set:
  			if ( integer ) {
  				if ( parseFloat( num, 10 ) === num ) {
  					return num;
  				}
  
  				tmp = [];
  
  				for ( item in transformTable ) {
  					tmp[transformTable[item]] = item;
  				}
  
  				transformTable = tmp;
  			}
  
  			for ( i = 0; i < numberString.length; i++ ) {
  				if ( transformTable[numberString[i]] ) {
  					convertedNumber += transformTable[numberString[i]];
  				} else {
  					convertedNumber += numberString[i];
  				}
  			}
  
  			return integer ? parseFloat( convertedNumber, 10 ) : convertedNumber;
  		}
docs: Converts a number using digitTransformTable.
  
  @param {number} num Value to be converted
  @param {boolean} integer Convert the return value to an integer