parser.number do not contain '.' at the end

parser.number pass tests; number do not contain '.' at then end. fix a bug about this feature.