cat / 012
clone

a spreadsheet for the terminal: lotus 1-2-3 looks, google sheets keys and formulas, one go binary

Enter typed percentages as exact decimals

Dami committed 847d801
"0.7%" was 0.7/100, which is 0.006999999999999999 in binary. Shifting
the decimal point in the parsed text gives the double nearest 0.007, as
Sheets stores it.
commit
847d80168c0f8f7c2efda21c93a4e170d8835939
parent
bd2463f26acac0c333f4f60624acf361cac2a67a
author
Dami <dami.etoile@gmail.com>
2 files changed, +9 -1
Minternal/sheet/format_test.go2++
Minternal/sheet/number.go8+++++++-
M internal/sheet/format_test.go +2 -0
M internal/sheet/number.go +7 -1