add path to decimal function