Reputation: 443
Which is this programming language?
$((1400+RANDOM%300))
I know it generates a random number between 1400 and 1699
Upvotes: 2
Views: 162
Reputation: 1929
I'd go with bash.
ole@servant:~$ echo $((1400+RANDOM%300))
1672
http://tldp.org/LDP/abs/html/randomvar.html
Upvotes: 4