Better to use inline (int) instead of settype(integer, ...)