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

7
LINES

< > BotCompany Repo | #1008545 // ifloor - round down

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3987L/23K).

static int ifloor(double d) {
  ret (int) Math.floor(d);
}

static IntRange ifloor(DoubleRange r) {
  ret r == null ?: intRange(ifloor(r.start), ifloor(r.end));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008545
Snippet name: ifloor - round down
Eternal ID of this version: #1008545/3
Text MD5: 5d720a0d7161c7d02a20589d72c42ceb
Transpilation MD5: 54527bb090060a62945ae0865e883844
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-17 20:05:04
Source code size: 168 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 509 / 650
Version history: 2 change(s)
Referenced in: [show references]