Changes

Jump to navigation Jump to search
90 bytes added ,  22:26, 13 August 2018
no edit summary
Line 1: Line 1: −
=REPT(txt, numt)=
+
<div style="font-size:30px">'''REPT (Text,Number_Times) '''</div><br/>
   −
*where <math>txt</math> is a text that is to be repeated
+
*where <math>Text</math> is a text that is to be repeated
*<math>numt</math> is a positive number that specifies how many number of times to repeat the text.
+
*<math>Number-Times</math> is a positive number that specifies how many number of times to repeat the text.
 
+
**REPT(), repeats text a given number of times.
REPT() repeats a text for specified number of times.
      
== Description ==
 
== Description ==
   −
REPT(txt, numt)
+
REPT (Text,Number_Times)
    
For Example,
 
For Example,
Line 14: Line 13:  
REPT("*",5) returns ''*****''
 
REPT("*",5) returns ''*****''
   −
*<math>txt</math> should be enclosed in quotes.
+
*<math>Text</math> should be enclosed in quotes.
*<math>numt</math> should be a positive number, else Calci ignores it and returns an empty text ("").
+
*<math>Number-Times</math> should be a positive number, else Calci ignores it and returns an empty text ("").
*If <math>numt</math> is equal to zero, Calci returns an empty text ("").
+
*If <math>Number-Times</math> is equal to zero, Calci returns an empty text ("").
*If <math>numt</math> is a non-integer, Calci rounds it and displays the output.
+
*If <math>Number-Times</math> is a non-integer, Calci rounds it and displays the output.
    
== Example ==
 
== Example ==
writer
6,694

edits

Navigation menu