hugo/content/en/functions/printf.md
Bjørn Erik Pedersen b9bd35d72e Squashed 'docs/' content from commit fdea5430f
git-subtree-dir: docs
git-subtree-split: fdea5430f89dfd849d39212abdf5ace0a4763e5a
2019-10-21 10:22:28 +02:00

560 B

title linktitle description godocref date publishdate lastmod categories menu keywords signature workson hugoversion relatedfuncs deprecated
printf printf Formats a string using the standard `fmt.Sprintf` function. https://golang.org/pkg/fmt/ 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
strings
printf FORMAT INPUT
false

See the go doc for additional information.

{{ i18n ( printf "combined_%s" $var ) }}
{{ printf "formatted %.2f" 3.1416 }}