Maybe if this is the case, you could restrict your input by a regex code for the decimals as outlined in the support article:
For details, please feel free to go through our support article Restricting Text Responses With Regular Expressions.
In addition, you could also combine a regex code
and the constraint
together as outlined in the post discussed previously: