title: React-Number-Format pass value as float to validation
body: <p>I have a react-hook-form form and yup validation. What I'm trying to do is to format an input with react-number-format but also to pass float value to validation and to submit.</p>
  <p>Here's the codesandbox:
  <a href="https://codesandbox.io/s/keen-field-26ub7" rel="noreferrer">https://codesandbox.io/s/keen-field-26ub7</a></p>
  <p>In InvoiceData.js there is an input that react-number-format is using. I would like to validate this input against the value above that (grossValue) but I think I cannot do this without parsing the value to float back again.</p>