Shouldn't this just return 0 in this case? I mean, it's not called to_float_or_none. :-)