code: function(val, fractionDigits)
      {
        return formatNumber(val == null || val === "" ? 0 : clamp(val / 100, 0, 1),
        {
          style: "percent",
          minimumFractionDigits: fractionDigits == null ? 0 : fractionDigits,
          maximumFractionDigits: fractionDigits == null ? maximumFractionDigits : fractionDigits
        })
      }
docs: model -> view: formats the value when updating the input element.