moved decimal stuff to mixin