Libraryless. Click here for Pure Java version (34L/1K).
static int parseDigit(char c) { ret c >= '0' && c <= '9' ? c-'0' : 0; } static int parseDigit(S s, int i) { ret parseDigit(s.charAt(i)); }
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019959 |
Snippet name: | parseDigit |
Eternal ID of this version: | #1019959/4 |
Text MD5: | bdf8495b8435f512b17d7c2fbefa9fad |
Transpilation MD5: | 7a35fe5d03976312cf1efbc2df7baecf |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-21 04:07:04 |
Source code size: | 149 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 365 / 446 |
Version history: | 3 change(s) |
Referenced in: | [show references] |