Got it. so just in case anyone else has the same problem.
The problem is I started to use Chrome instead of Firefox where
works a bit differently in that it does not allow decimal places unless it also has
I found it here: http://blog.isotoma.com/2012/03/html5-input-typenumber-and-decimalsfloats-in-chrome/
and it works.