if V[h_total=&V[h_amount]]
set V[h_adaptation] "X"
endif
Both h_total and h_amount have the value 2500, but the Set statement is
not
executed.
Probably one of the values is "2.500" or "2,500", and
the other is "2500". In this case, you can first add 0 to both
values, to convert them into a standard format, and then compare them.