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

3
LINES

< > BotCompany Repo | #1036216 // formatPercentage

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

Transpiled version (112L) is out of date.

sS formatPercentage(double percent, int decimals default 1) {
  ret formatDouble(percent, decimals) + "%";
}

Author comment

Began life as a copy of #1014321

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036216
Snippet name: formatPercentage
Eternal ID of this version: #1036216/2
Text MD5: 8d6a43644a8f3971344e8c6e65501656
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-23 21:38:25
Source code size: 110 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 63 / 86
Version history: 1 change(s)
Referenced in: [show references]