Manuals/calci/REPEATCHAR
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
- =REPEATCHAR(4,6) = 444444
- =REPEATCHAR(678,3) = 678678678
- =REPEATCHAR("Hello",3.6) = HelloHelloHelloHello
- =REPEATCHAR(-45.5,5) = -45.5-45.5-45.5-45.5-45.5
- =REPEATCHAR(59,-3) = Error
Related Video
See Also
References