File size: 75 Bytes
181e22f
 
 
1
2
3
4
export function calcPercent(a, b) {
  return ((a / b) * 100).toFixed(1);
}