Description
After successfully adding a shortcut, the app will let the user know that it was successfully added and its quantity. The quantity will always be displayed in decimal format, which can be confuse the user depending on the item added.
Steps to Reproduce
- Run the app
- Run the command
add sc/bread,1
Actual Output
The output is as shown below. The quantity is stated as 1.0pc

Expected Output
If the quantity is a whole number, the decimal point should be removed. In this case, the quantity should appear as 1pc.
Description
After successfully adding a shortcut, the app will let the user know that it was successfully added and its quantity. The quantity will always be displayed in decimal format, which can be confuse the user depending on the item added.
Steps to Reproduce
add sc/bread,1Actual Output

The output is as shown below. The quantity is stated as
1.0pcExpected Output
If the quantity is a whole number, the decimal point should be removed. In this case, the quantity should appear as
1pc.