I found out where the problem was. I was using a , not a .
If i use a . like 2.5 the macro worked fine.
Anyway thanks for your suggestion and advice^^