Added max char. validation and changed results to floats