Created by: codelear
Description of PR
The rounding off was presenting incorrect results when the percentage was less than 1. So I fixed this by checking if the percentage is between 0 and 1 and scaling the value by 10.
Relevant Issues
Fixes #2485 (closed)
Checklist
-
Compiles and passes lint tests -
Properly formatted -
Tested on desktop -
Tested on phone
Screenshots