Share your repls and programming experiences

← Back to all posts
My calculator
AlanKolenko (1)

a calculator [key smash deleted by moderators]

Zexogon (845)

Please dont spam in your description! -Dart

kerphloo (7)

There were some funky bits with your script I noticed. Your numbers were saved as strings, not integers, so none of the functions worked. Addition almost worked, but it just appended the two numbers together.

I changed it so it explicitly defined each number as integers, and it works like a charm. I also changed "Chose" to "Choose", and fixed a few formatting things (that I personally preferred) - My fork here