Some thoughts on switching between decimal and int