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

3
LINES

< > BotCompany Repo | #1029249 // toInt_safe - fail when out of range

JavaX fragment (include)

static int toInt_safe(long l) {
  ret toInt(l);
}

Author comment

Began life as a copy of #1002621

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029249
Snippet name: toInt_safe - fail when out of range
Eternal ID of this version: #1029249/1
Text MD5: cd9e9a17fe5223c76c27f21c349f588c
Author: stefan
Category: javax / eleu
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-27 12:09:24
Source code size: 51 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 172
Referenced in: [show references]