Jump to content

Template:Repeat/doc

From Wikibooks, open books for an open world

{{repeat|text|count}}

Examples

[edit source]
  • {{repeat|ab|23}} gives "ababababababababababababababababababababababab"
  • {{repeat|ab|23}} gives "ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab "
  • {{#expr:{{repeat|ln(10*|20}}1{{repeat|)/ln2|20}}}} gives 5.8770105937826 (iterative method, solving )

See also

[edit source]