AY2425S1-CS2103T-W10-4 / tp

https://ay2425s1-cs2103t-w10-4.github.io/tp/
MIT License
0 stars 5 forks source link

[PE-D][Tester D] Decimal values are not allowed for grades despite being a numerical value #245

Open soc-se-bot opened 3 weeks ago

soc-se-bot commented 3 weeks ago

To reproduce:

  1. Do grade 1 m/Chemistry s/45.5

Expected behavior: Update or add grade of chemistry for student at index 1, to a new score of 45.5, which is a numerical value.

Actual behavior: Error shown: Grade should be a number between 0 and 100.

Remedy: Update constraints across both application and UG to state that only integers are allowed, or update underlying business logic to allow for non integer numbers.

image.png


Labels: severity.Low type.FunctionalityBug original: yizhong187/ped#16

Jianwen0451 commented 3 weeks ago

Should limit the grade mark in User guide to be integer value / percentage of grade