Merge branch 'DRVWEB-4389-small-fixes-public-page' into 'main'
[ProtonMail-WebClient.git] / packages / utils / percentOf.ts
blobad2781db6448607697765670cbf73ba191ece6d0
1 /**
2  * Returns "percent" percent of "n".
3  */
4 export default function percentOf(percent: number, n: number) {
5     return n * (percent * 0.01);