Fixed #5557 (astIsFloat: better handling of '.')