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

3
LINES

< > BotCompany Repo | #1035771 // str_toKB_oneDecimal

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

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

sS str_toKB_oneDecimal(long l) {
  ret formatDouble1(l/1024.0+0.09999) + " KB";
}

Author comment

Began life as a copy of #1034206

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035771
Snippet name: str_toKB_oneDecimal
Eternal ID of this version: #1035771/3
Text MD5: dfbb345acc70aee0ca72775fc2909685
Transpilation MD5: 474d1ebf4537dbd5cb74f0da1ac95779
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-22 04:18:38
Source code size: 83 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 70 / 100
Version history: 2 change(s)
Referenced in: [show references]