repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'DRVWEB-4389-small-fixes-public-page' into 'main'
[ProtonMail-WebClient.git]
/
packages
/
utils
/
percentOf.ts
blob
ad2781db6448607697765670cbf73ba191ece6d0
1
/**
2
* Returns "percent" percent of "n".
3
*/
4
export default function percentOf(percent: number, n: number) {
5
return n * (percent * 0.01);
6
}