Hi Dolly,
I'm not super familiar with the setup for KrakenD, but could you tell me what issue you're encountering? Did you want to compare against an int rather than a string? Or is there some other experience or error that you're encountering?
If you want to convert a string to an int you'd use the `int()` conversion method:
int(req_headers['X-Device-Version'][0].replace('.', '')) == 940
Hopefully this helps, and if not, I can probably help more if you could share more details about what you're trying to do and what's not behaving as expected.
Cheers,
-Tristan