tweaked the decimal function