Skip to content

Immutable symbolic unit #220

@t-bltg

Description

@t-bltg

I have a code computing an estimation of the glomerular filtration rate where the results for the eDFG are adjusted for body surface area (see https://en.wikipedia.org/wiki/Glomerular_filtration_rate#Normal_ranges) resulting in the custom unit mL/min/1.73m².

julia> using DynamicQuantities
julia> eDFG = 60us"mL/min/1.73m^2"
34.68208092485549 m⁻² min⁻¹ mL  # ← current output (not what I want)
60.0 m⁻² min⁻¹ mL 1.73⁻¹  # ← I want the result in m⁻² min⁻¹ mL 1.73⁻¹

How can I achieve that ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions