< not working

Thanks, I tried that but if I put mana to 0.08 and then cast the spell the mana drops to -0.02.

From what I see mana should take away Healmana till mana is less than Healmana.

So Mana is stopping at 0.1 (which is the same as Healmana value) but as it is set to less than shouldnt that put it to 0?

When I set the values -
Mana 100
Healmana 10

it works perfectly?