coldstar96 / cse403

Budget Manager Project
1 stars 2 forks source link

Setting max amounts #150

Open jiwpark90 opened 11 years ago

jiwpark90 commented 11 years ago

What's the max number we can take as input that won't cause weird number problems?

brucec5 commented 11 years ago

I'm pretty sure it's Integer.MAX_VALUE cents.

jiwpark90 commented 11 years ago

Just to make sure, we should limit that to Integer.MAX_VALUE / 100 since were storing it as amount * 100?

josephshieh commented 11 years ago

I think chris said cents?

brucec5 commented 11 years ago

Ji is saying that we should not let the user enter in dollar amounts greater than Integer.MAX_VALUE / 100, which is correct.