Setting a fixed number of digits to display on axes?

Hello,

Is there a way to specify a fixed number of digits to display on figure axes? For example, instead of showing “0 0.5 1 1.5…” on an axis, I’d like to have it display as “0.0 0.5 1.0 1.5…”, so that there is always two digits displayed for each number. I’m aware of options to set the maximum number of digits, but not a fixed number of digits.

Thank you.