Manuals/calci/REPEATCHAR

From ZCubes Wiki
Jump to navigation Jump to search
REPEATCHAR(Char,NumberOfTimes)


  • where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Char} is the input character or a string,
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle NumberOfTimes} is the total number of times the given character is to be repeated.

Description

  • This function repeats the given character for number of times mentioned.
  • Argument Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle Char} can be a character, string or a number.
  • Argument Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle NumberOfTimes} should be a positive value greater than '0'.
  • For the fractional value of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle NumberOfTimes} , it is rounded off to the nearest integer.

Examples

  1. =REPEATCHAR(4,6) = 444444
  2. =REPEATCHAR(678,3) = 678678678
  3. =REPEATCHAR("Hello",3.6) = HelloHelloHelloHello
  4. =REPEATCHAR(-45.5,5) = -45.5-45.5-45.5-45.5-45.5
  5. =REPEATCHAR(59,-3) = Error


Related Video

How to repeat a character


See Also


References