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

3
LINES

< > BotCompany Repo | #1035758 // intsToKB - an int is assumed to be 2 bytes (so shorts, rather...)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (33L/1K).

1  
static double intsToKB(double ints) {
2  
  ret ints/512;
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035758
Snippet name: intsToKB - an int is assumed to be 2 bytes (so shorts, rather...)
Eternal ID of this version: #1035758/2
Text MD5: 8e3d79e81045bac058b9db0cf6848f30
Transpilation MD5: 50ceab0df9e43bb8629f8f0a8c69e0fd
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-20 01:00:28
Source code size: 57 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 124 / 172
Version history: 1 change(s)
Referenced in: [show references]