Perhaps surprisingly, when you use a Number type field, it will not allow you to enter decimal places. When you attempt the submit the form, the browser will consider a number with decimal places to be invalid.
This is a companion discussion topic for the original entry at https://www.sygnal.com/lessons/input-number-decimal-places