result <- mockSummarisedResult()
result |> formatEstimateValue(decimals = 1)
result |> formatEstimateValue(decimals = c(integer = 0, numeric = 1))
result |>
formatEstimateValue(decimals = c(numeric = 1, count = 0))
Run the code above in your browser using DataLab