changed all input field values to floating point numbers