Libraryless. Click here for Pure Java version (28L/1K).
static double zeroOne_double(bool b) { ret b ? 1.0 : 0.0; }
Began life as a copy of #1014233
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032052 |
Snippet name: | zeroOne_double - bool to 0.0/1.0 |
Eternal ID of this version: | #1032052/1 |
Text MD5: | baca5551e5ff81fd3347222cdb87b4aa |
Transpilation MD5: | de36d7ae9e9f6e465d8bcb989ca4518a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 07:54:56 |
Source code size: | 63 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 198 / 283 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |