fix: significant rounding
fix: put metric type when setValue
clean: code