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

3
LINES

< > BotCompany Repo | #1005131 // ratioToIntPercent

JavaX fragment (include)

static int ratioToIntPercent(double x, double y) {
  ret roundToInt(x*100/y);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005131
Snippet name: ratioToIntPercent
Eternal ID of this version: #1005131/1
Text MD5: 86a968d14fa46d1b69613a06ea204c88
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-16 21:23:04
Source code size: 81 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 524 / 539
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1006968 - toIntPercent
#1008544 - ratioToIntPercent_floor
#1008662 - ratioToPercent
#1015206 - ratioToIntPercent_avoid100