In your case is no need for conversion, I am thinking to concatenation of a string value with a int value, or converting specific values extracted from headers (eg., Expires) to int for some comparison operations.
If avp_check can be extended for int comparison, that would be great.
Btw, is there a way to check if an avp attribute exists?
Richard