Hi Elina,
If the attribute is of type decimal and you add a breakpoint to see this in debug mode it will be shown as 0E-8, E-8 represents 8 digits after decimal point (i.e. E-8 = .00000000). When you compare or use this value anywhere in your calculation 0E-8 is same as 0.
Hope this helps!