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
Use source loader for email sprite icons
[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
}