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

7
LINES

< > BotCompany Repo | #1003741 - iround - round to int

JavaX fragment (include)

static int iround(double d) {
  ret (int) Math.round(d);
}

static int iround(Number n) {
  ret iround(toDouble(n));
}

Author comment

Began life as a copy of #1002176

download  show line numbers  debug dex   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, ofpaelxlmzfo, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1003741
Snippet name: iround - round to int
Eternal ID of this version: #1003741/2
Text MD5: 69051955107d0f2e5b99064fee47f5c8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-10 16:04:09
Source code size: 124 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 402 / 438
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1003741 & http://1003741.tinybrain.de