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

3
LINES

< > BotCompany Repo | #1001116 // sleepSeconds

JavaX fragment (include)

1  
static void sleepSeconds(double s) {
2  
  if (s > 0) sleep(round(s*1000));
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001116
Snippet name: sleepSeconds
Eternal ID of this version: #1001116/1
Text MD5: e9ba62ebb177218b58efc87abffe4451
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-02 18:21:13
Source code size: 75 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 797 / 5608
Referenced in: [show references]