Let's let a be the odds expressed the American way and e the European way.
To go from American to European:
If a>0, then e=1+(a/100).
If a<0, then e=(a-100)/a.
To go from European to American:
If e>=2, then a=100×(e-1).
If e<2, then a=100/(1-e).