Refactoring. Use astIsFloat()