Deal with floating point numbers in step

Related to [gh-1384]