1# Decimal arithmetic: binary floating point makes $4.35 come to 4342# whole cents and $0.10 + $0.20 - 0.3 miss 0. File > Settings > Decimal3# arithmetic, here from the palette, makes this file's money math exact.4Output out/decimal.gif5Source lib/setup.tape6Set Theme "GruvboxDark"78Hide9Type "../bin/012" Enter10Sleep 1.5s11Show1213Sleep 600ms14Type "Coffee" Tab Type "$4.35" Enter15Type "Tip" Tab Type "$0.10" Enter16Type "Fee" Tab Type "$0.20" Enter17Type "Cents" Tab Type "=INT(B1*100)" Enter18Type "Is 0.30?" Tab Type "=B2+B3-0.3=0" Enter19Type "Residue" Tab Type "=0.1+0.2-0.3" Enter20Sleep 1.5s21Ctrl+K22Type@120ms "decimal"23Sleep 1s24Enter25Sleep 2s26Screenshot out/stills/decimal-on.png27Alt+f28Sleep 500ms29Up@400ms 230Sleep 500ms31Right32Sleep 2s33Screenshot out/stills/settings-menu.png34Escape@300ms 235Sleep 1s