Updated code. fixed bug

removed new references to setDecimals() function