Add option to set decimal precision and step value