added recognition of floats

starting with digit or dot