nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

List command amount to list does not work #1889

Open nus-pe-bot opened 2 months ago

nus-pe-bot commented 2 months ago

Even with 2 items in the expenses list, inputting "list /a 5" or "list /a 1000000000" shows all the items in the list. However "list /a 100000000000000" does not work as intend

image.png


[original: nus-cs2113-AY2324S2/pe-interim#1673] [original labels: severity.Low type.FeatureFlaw]

yeozhishen commented 2 months ago

Team's Response

The input provided exceeds the amount that an int variable can handle, causing integer overflow. As per PE guidelines, this is not a bug

image.png

Duplicate status (if any):

--