Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abbeycode/UnrarKit
/ ToPercentUnlim
Function
ToPercentUnlim
Libraries/unrar/smallfn.cpp:12–17 ·
view source on GitHub ↗
Allows the percent larger than 100.
Source
from the content-addressed store, hash-verified
10
11
// Allows the percent larger than 100.
12
int ToPercentUnlim(int64 N1,int64 N2)
13
{
14
if (N2==0)
15
return 0;
16
return (int)(N1*100/N2);
17
}
18
19
Callers
3
ToPercent
Function · 0.85
ListArchive
Function · 0.85
ListFileHeader
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected