I am having issues using decima like 2.8 or 0.5 for discount in POS can someone help please

i am having issues using decimal like 2.8 or 0.5 for discount in POS can someone help please…

when i try to discount a sale in the POS using decimal it will show NaN …can some please help…