I want to have an input field that always limits input to two decimal places but also displays two decimal places,

I know this is a follow on to this question:

[Force number input to have two decimal places and ONLY two](https://stackoverflow.com/questions/43543817/force-number-input-to-have-two-decimal-places-and-only-two][1])

But when I implement this in React, it doesn't format to 2 decimal places, if say the number is 3. It is as if it is ignoring the step prop.