code: function toFixedWidth(value, maxChars) {
  	var result = value.toFixed(2).substr(0, maxChars);
  	if (result[result.length - 1] == '.') {
  		result = result.substr(0, result.length - 2) + ' ';
  	}
  	return result;
  }
docs: Crude, but should be enough internally