fix to allow decimals again

Sorry. Only just noticed this regression.