JavaScript calculator: What to round floats to?

JavaScript calculator: What to round floats to?
0

#1

Did you round your floats? If you did, what place did you round them to? Thousandths?


#2

You should round it so that it matches the maximum length of a number that can be entered. Unless the way you set yours up doesn’t have a max number length.


#3

Thank you! That’s what I was thinking.