Skip to content

Output uptake message with 3 decimals #481

@pascalchevrel

Description

@pascalchevrel

In whattrainisitnow.com, I parse the message field in https://pollbot.services.mozilla.com/v1/firefox/130.0/telemetry/main-summary-uptake to extract the uptake rate.

This rate only has 1 decimal, could we have 3 decimals instead to reduce the rounding?

I believe just changing this line:
https://pollbot.services.mozilla.com/v1/firefox/130.0/telemetry/main-summary-uptake

Not a python person, but I think that changing {:.1f} to {:.3f} would probably do it.

Happy to make a pull request if necessary.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions