Arduino Forum
Random() Maximum
Forum 2005-2010 (read only)
Software
Syntax & Programs
kg4wsv
July 14, 2007, 5:58pm
5
so it should look like: long x = random(1576800000L);
that's correct.
-j
show post in topic
Related Topics
Topic
Replies
Views
Activity
random int not long?? help appreciated
Syntax & Programs
10
7246
May 6, 2021
random function
Programming Questions
4
1037
May 5, 2021
Proposed fix to random()
Bugs & Suggestions
9
2144
May 6, 2021
HELP! What is the data length of the random() function?
Programming Questions
6
267
April 29, 2023
random() function generates number that exceeds the given maximum limit
Programming Questions
9
1162
May 5, 2021