read::Float does not handle string that are all digits, but end in "."
|Reported by:||guest||Owned by:|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Rev(s):|
(read a)::Float fails if a is a string that is all digits but ends int "."
(read "20.")::Float fails
- (read "20.3")
- Float succeeds
compare to the c atof function which succeeds in producing a correct value in both cases
Change History (3)
comment:1 Changed 9 years ago by thorkilnaur
- Resolution set to invalid
- Status changed from new to closed