topdown/units_parse: Avoid extra decimal places for integers. (#5011)
This commit cleans up the output of `units.parse` for integer values. Previously, all values from `units.parse` had their precision set to 10 places past the decimal point, regardless of whether that much precision was actually needed. This commit removes the extra decimal places for integers, giving cleaner outputs. Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
P
Philip Conrad committed
39fa5cf79caec81433dba1770346b57c932a6414
Parent: 295d251
Committed by GitHub <noreply@github.com>
on 8/12/2022, 11:02:21 PM