Template:Repeat/doc

From MattWiki
Jump to: navigation, search

Usage

{{repeat|text|count}}

Examples

  • "{{repeat|ab|23}}" gives "ababababababababababababababababababababababab" [1]
  • "{{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 " [2]
  • {{#expr:{{repeat|ln(10*|20}}1{{repeat|)/ln2|20}}}} gives 5.8770105937826 (iterative method, solving )

See also