Template:Repeat

From Wikispooks
Revision as of 04:57, 19 March 2016 by Robin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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 <math>10x=2^x</math>)

See also