I my application there's four types of Measurement unit.
- kg
- Height (cm)
- Width (cm)
- Length (cm)
So I'm putting this all with a Double as it should, but when I Try to show this on TextView if the value is not a fraction, like 1kg or 1cm, it will show like this : 1.0 cm and 1.0 kg. There's any Library that it could ignore the zero unless if was is necessary, something like : 1.2 or 4.5.