NoRepDigit ( hightDigit ; digitCount )
returns a random number of "digitCount" digits with all different digits from 1 to "hightDigit"
Average rating: 4.1 (35 votes) Log in to vote
Daniele Raybaudi - Show more from this author
ACI http://www.aci.it |
NoRepDigit ( 8 ; 5 )
23781
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Format: NoRepDigit ( hightDigit ; digitCount )
Params:
hightDigit - number (max 9)
digitCount - number (max 9)
Result:
returns a random number of "digitCount" digits with all different digits from 1 to "hightDigit"
(produce in modalità random un numero di lunghezza: "digitCount" con cifre tutte diverse tra 1 e "hightDigit");
two examples (due esempi):
NoRepDigit ( 5 ; 5 ) may return (può produrre): 12345;
NoRepDigit ( 8 ; 5 ) may return (può produrre): 23781.
"digitCount" can't ever be highter than "hightDigit"
("digitCount" non deve mai essere superiore a "hightDigit")
the number returned has no zero inside
(il numero creato non conterrà alcun zero).
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.