AY2122S1-CS2103T-F12-2 / tp

https://ay2122s1-cs2103t-f12-2.github.io/tp/
MIT License
1 stars 5 forks source link

[PE-D] Grade field behaviour does not correspoding to the error message #183

Closed nus-pe-bot closed 3 years ago

nus-pe-bot commented 3 years ago

{I%7BZ`S2~M0H@%9LN6}~31.png

The error message show that grade should be 2dp. But when I input value in 1dp it is also allowed, and in info page it did not change it to 2dp anyway. Can either change the error message, or the feature itself.


Labels: severity.Low type.FeatureFlaw original: WuaaAj/ped#4

yunpeng1234 commented 3 years ago

Fixed

Jeromesyl commented 3 years ago

I saw the fix but it seems like Grade still accepts inputs of 1 d.p. image

Perhaps we can either change the UG to allow for 1 d.p or make it so that a 0 is added to the back of the input if it is 1 d.p to make it 2 d.p?

yunpeng1234 commented 3 years ago

Oops my fix i didnt push yet