Seems likely that this was intended to only allow for integers. Currently I am able to enter 1.5 and be charged 1.5 x price, and get two tokens.