Difference between revisions of "Manuals/calci/UPTO"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''UPTO (From,To,By)'''</div><br/> *<math>From</math>, <math>To</math> and <math>By</math> are real numbers. ==Description== *This function shows ...")
 
Line 12: Line 12:
  
 
==Examples==
 
==Examples==
 +
# UPTO(23,100,6) = 23 29 35 41 47 53 59 65 71 77 83 89 95
 +
# UPTO(3.6,89.2,4) = 3.6 7.6 11.6 15.6 19.6 23.6 27.6 31.6 35.6 39.6 43.6 47.6 51.6 55.6 59.6 63.6 67.6 71.6 75.6 79.6 83.6 87.6
 +
# UPTO(-45,60,7) = -45 -38 -31 -24 -17 -10 -3 4 11 18 25 32 39 46 53
  
 
==See Also==
 
==See Also==

Revision as of 13:56, 13 April 2018

UPTO (From,To,By)


  • , and are real numbers.

Description

  • This function shows the with in the given range of numbers.
  • In , is the starting number, is the final number and is the skip number.
  • This function is showing all the numbers starting from the first value which is given as first parameter.
  • Also the set of values which is ended in the second parameter with the skip value.
  • The parameter value can be positive integer,negative integer,and decimals.
  • This function will return the result as error when the skip value is negative.
  • When the skip value is omitted then the skip value is considered as 1.

Examples

  1. UPTO(23,100,6) = 23 29 35 41 47 53 59 65 71 77 83 89 95
  2. UPTO(3.6,89.2,4) = 3.6 7.6 11.6 15.6 19.6 23.6 27.6 31.6 35.6 39.6 43.6 47.6 51.6 55.6 59.6 63.6 67.6 71.6 75.6 79.6 83.6 87.6
  3. UPTO(-45,60,7) = -45 -38 -31 -24 -17 -10 -3 4 11 18 25 32 39 46 53

See Also


References

Even numbers