Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1002411 // rand - short for random

JavaX fragment (include)

1  
static int rand(int n) {
2  
  ret random(n);
3  
}
4  
5  
static double rand(double d) {
6  
  ret random(d);
7  
}

Author comment

Began life as a copy of #1002033

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1002411
Snippet name: rand - short for random
Eternal ID of this version: #1002411/2
Text MD5: 85e2567acec3617a1d4b0a4ecc784bbb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-02 18:42:32
Source code size: 100 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 610 / 855
Version history: 1 change(s)
Referenced in: [show references]