Skip to content

Rounding output values to input values #36

@archaeothommy

Description

@archaeothommy

Current behavior: In the conversion functions between at% and wt%, and wt% and oxide%, the output usually has a higher number of analytically significant digits than the input.

Intended behavior: Output is rounded to the same significant digit as the input.

Challenge: The checks for significant digits and rounding must be performed for each value separately. Significant digits of e.g. elemental data e.g. can depend on the concentration value (e.g., 50.2 +/- 0.5 vs. 0.05 +/- 0.02).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions