fixed negation
added some tests, made to-decimal return Integers for whole numbers