const replacedСomma = ({value}) => parseFloat(value.replace(",", ".")); function fillmass() { let a1 = replacedСomma(a), b1 = replacedСomma(b), step1 = replacedСomma(step);