dimanche 2 août 2020

How to compare two decimals with 0 and 0.00 [closed]

I have two decimal values. I want to compare those and want return false

decimal x =0;
decimal y= 0.00 or 0.0m;
i want show 
    if (x== y) // false 
or x.equals(y) // false
i tried many ways i could find solution.

Aucun commentaire:

Enregistrer un commentaire