Libraryless. Click here for Pure Java version (3179L/17K).
static double parseDoubleOr(S s, double defaultValue) { ret empty(s) ? defaultValue : Double.parseDouble(s); }
Began life as a copy of #1028511
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032455 |
Snippet name: | parseDoubleOr |
Eternal ID of this version: | #1032455/1 |
Text MD5: | 521d2a80694d323add15631c599df271 |
Transpilation MD5: | aa58867bc9a117667a71373f487f1e59 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-06 18:29:29 |
Source code size: | 114 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 143 / 213 |
Referenced in: | [show references] |