import { isNumber } from "./";
const percentCounting = (general, part) => {
    if (!isNumber(part) && !isNumber(general)) {
        return 0;
    }
    return (part * 100) / general;
};
export default percentCounting;
