More reliable float detection (It returned 'integer' on 0.0, 1.0 etc.)