Difference between revisions of "Manuals/calci/DIGITS"

From ZCubes Wiki
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
==Example==
 
==Example==
 
#DIGITS() = 1234567890
 
#DIGITS() = 1234567890
 
 
#DIGITS(38) = ["3","8"]
 
#DIGITS(38) = ["3","8"]
 
 
#DIGITS(1..100)=1  2  3  4  5  6  7  8  9  10...........100
 
#DIGITS(1..100)=1  2  3  4  5  6  7  8  9  10...........100
  

Latest revision as of 08:48, 5 June 2020

DIGITS(SomeNumberOrEmpty)

Description

  • If a parameter is provided for SomeNumberOrEmpty, the function an array consisting of every digit in the number.
  • This function shows the digits 0 to 9, if no parameters are given.
  • Digits is any of the numerals from 0 to 9, especially when forming part of a number.


Example

  1. DIGITS() = 1234567890
  2. DIGITS(38) = ["3","8"]
  3. DIGITS(1..100)=1 2 3 4 5 6 7 8 9 10...........100

Related Videos

Digits

See Also

References

Digits