.. include:: /Includes.rst.txt .. _typo3fluid-fluid-format-printf: ============= format.printf ============= A view helper for formatting values with printf. Either supply an array for the arguments or a single value. See http://www.php.net/manual/en/function.sprintf.php = Examples = %.3e 3.625e+8 %2$s is great, TYPO%1$d too. Yes, TYPO%1$d is great and so is %2$s! Kasper is great, TYPO3 too. Yes, TYPO3 is great and so is Kasper! We love %s We love TYPO3 {someText -> f:format.printf(arguments: {1: 'TYPO3'})} We love TYPO3 Arguments ========= .. _format.printf_value: value ----- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` String to format .. _format.printf_arguments: arguments --------- :aspect:`DataType` mixed :aspect:`Default` array () :aspect:`Required` false :aspect:`Description` The arguments for vsprintf