Added decimal function