Assuming you are using a webform, you can add a regex check on the Validate event to check if the data is in the correct format, something like
^[0-9]*\.[0-9]{2}$
must do the trick.
Of course, you can do this on web forms using expression validation.
a source
to share