static float randomFloat() { ret (float) random(); } static float randomFloat(float min default 0, float max) { ret (float) random(min, max); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018813 |
Snippet name: | randomFloat - between 0 and 1 |
Eternal ID of this version: | #1018813/4 |
Text MD5: | bad97e023933368548d9cd980bda2990 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-11-04 04:23:49 |
Source code size: | 154 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 347 / 393 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |