Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1019880 // fraction - get fractional part of double

JavaX fragment (include)

1  
static double fraction(double d) {
2  
  ret d % 1;
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019880
Snippet name: fraction - get fractional part of double
Eternal ID of this version: #1019880/1
Text MD5: 6a37974792f8508cc4b94bf4b5b8c85d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-30 18:17:58
Source code size: 51 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 379 / 400
Referenced in: [show references]