I am trying to compare two decimal values in Java script. I have two objects as one assogned value "3" and the other as "3.00". When i say if (obj1 == obj2) it does not pass the condition as it is does the string comparision.
I would instead want it to do a decimal comparision where 3 = 3.00. Please let me know how to do this.