Skip to content

Treat a single zero as decimal rather than octal

Furkan Usta requested to merge fusta/kcalc:master into master

When a single zero is pasted, it is treated as an octal and when the leading zero is removed it results in nan.

The deleted case (tmp.str_length() < 2) can only occur when tmp_str==0

Merge request reports

Loading