return 0 for invalid floats in records