Fix `lang.FormatPercent` description

Successor PR for https://github.com/gohugoio/hugoDocs/pull/1504
This commit is contained in:
Salim B 2021-08-03 14:22:28 +00:00 committed by Bjørn Erik Pedersen
parent dfe54d3216
commit d6c8cd7718
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func (ns *Namespace) FormatNumber(precision, number interface{}) (string, error)
}
// FormatPercent formats number with the given precision for the current language.
// Note that the number is assumbed to be percent.
// Note that the number is assumed to be a percentage.
func (ns *Namespace) FormatPercent(precision, number interface{}) (string, error) {
p, n, err := ns.castPrecisionNumber(precision, number)
if err != nil {