code: function sn_format_displayScaleForValue(value) {
      var result = 1, num = Number(value);
      if (isNaN(num) === false) {
        if (value >= 1e9) {
          result = 1e9;
        } else if (value >= 1e6) {
          result = 1e6;
        } else if (value >= 1e3) {
          result = 1e3;
        }
      }
      return result;
    }
docs: Get an appropriate display scale for a given value. This will return values suitable
  for passing to {@link sn.format.displayUnitsForScale}.
  
  @param {Number} value - The value, for example the maximum value in a range of values,
  to get a display scale factor for.
  @return {Number} A display scale factor.
  @since 0.0.7
  @preserve