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

3
LINES

< > BotCompany Repo | #1021264 // strRatioToPercent - with percent sign, round to int

JavaX fragment (include)

sS strRatioToPercent(double x, double y default 1) {
  ret ratioToIntPercent(x, y) + "%";
}

Author comment

Began life as a copy of #1008662

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021264
Snippet name: strRatioToPercent - with percent sign, round to int
Eternal ID of this version: #1021264/4
Text MD5: a72a95e462e87d32d3d587ab258a1f0b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-02 20:31:13
Source code size: 93 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 225 / 255
Version history: 3 change(s)
Referenced in: [show references]