Float guarantees that the value is either a float or None; so, no need to cast.