How to convert from Nat to Int

Hi, I want to convert from Nat to Int. How do I do this?

I assume you are asking about Motoko.

Nat is a subtype of Int, so you don’t even have to explicitly convert – you can just use any value or expression of type Nat in places where an Int is expected.