fix: check if values are numeric and do not contain float before getting gcd
fix: check if values are numeric and do not contain float before getting gcd

bolt-design-system/bolt,bolt-design-system/bolt,bolt-design-system/bolt,bolt-design-system/bolt,bolt-design-system/bolt