fix decimal precision of value