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

3
LINES

< > BotCompany Repo | #1036169 // roundToIntRange

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

Libraryless. Click here for Pure Java version (9386L/52K).

1  
static IntRange roundToIntRange(DoubleRange r) {
2  
  ret r == null ?: IntRange(iround(r.start), iround(r.end));
3  
}

Author comment

Began life as a copy of #1029245

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036169
Snippet name: roundToIntRange
Eternal ID of this version: #1036169/1
Text MD5: c857f473a7b47a22b1e5d67a2a10f16c
Transpilation MD5: 117bc02cfc4faaca1c65c387396462e3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-04 16:17:59
Source code size: 113 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 54 / 78
Referenced in: [show references]