Fix decimal conversion