← Back to Community
calculator (~73 features)
Profile icon
mkcodes

its a very cool calculator
if u want more features ask in a comment!
u can use help<|'1'|> or help('1'), either one works

Voters
Profile icon
Kirby336
Profile icon
BearCoder01
Profile icon
mkcodes
Comments
hotnewtop
Profile icon
WeirdBoi12408

5.2 * 3 = 15.600000000000001, yes

Profile icon
mkcodes

@WeirdBoi12408 that's due to python's float precision, try doing do('5.2', '3', '*') instead

Profile icon
WeirdBoi12408
Profile icon
WeirdBoi12408

I was just thinking that a calculator should have the decimal library built in @mkcodes

Profile icon
mkcodes

@WeirdBoi12408 - added it (line 5)

Profile icon
WeirdBoi12408

@mkcodes lmao

"# stupid Floating Point Accuracy"

Profile icon
WeirdBoi12408

@mkcodes line 966:
966: print("
967:
968: ")

Profile icon
mkcodes

@WeirdBoi12408 that was suposed to show the do() function but replit didn't save my changes ?????

Profile icon
WeirdBoi12408
Profile icon
mkcodes

@WeirdBoi12408 (not ur fault or anything) i fixed it