Thanks a lot sujeetsingh,
I'm trying to do what you've said to me but i think i don't know to use correctly the max function. It returns "invalid expression".
The result should only return a value, the value of the currency in the nearest but not exceeding confirmeddlv. I think i'm not understanding you.