2017-02-26 22:23:06 -06:00

588 B

title linktitle description godocref date publishdate lastmod categories tags signature workson hugoversion relatedfuncs deprecated needsexamples
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
strings
false true

printf formats a string using the standard fmt.Sprintf function. See the go doc for additional information.

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