An invalid format is casted to 0 (if a string) or to some truncated value in other cases (ex: 10..5).