static int zeroOne(bool b) { ret b ? 1 : 0; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014233 |
Snippet name: | zeroOne - bool to 0/1 |
Eternal ID of this version: | #1014233/1 |
Text MD5: | 16b2ad5176dec28ecd5b6fe05c8e8ffc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-17 01:49:20 |
Source code size: | 49 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 399 / 438 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032052 - zeroOne_double - bool to 0.0/1.0 |