I have problem in if else condition
First,
amt
has value of 1000.
actualamt
has value of 500.
I am receiving the above values from text boxes.
My condition is if actualamt is greater than amt, it will not proceed. But even if the value of actualamt is lower than amt, it didnt accept.
here's my code
if (actualamt > amt) {
checker = 0;
$.toast({
heading: 'Note:',
text: "You have exceeded amsount for settle. Please check the amount.",
icon: 'info',
loader: false,
stack: false,
position: 'top-center',
bgColor: '#FFA500',
textColor: 'white',
allowToastClose: false,
hideAfter: 4000
});
}
Can you help me with this. Thanks