Skip to content

Feature request: formatting of PV values as fixed-format or scientific numbers  #78

@mducle

Description

@mducle

At the moment the formatting of the PV values in the WebDashboard is a bit haphazardous (also it seems that some PVs return String for numeric values and some return Numbers making it even more confusing). For example on MARI, the Fermi_speed is given in scientific notation but is always an integer less than 1000 so would be more readable displayed as an integer, whilst the Tank_Pressure is displayed in fixed-format but is usually a very small number (around 1e-5) when the instrument is running so would be better displayed using scientific notation.

Could these numbers be formatted so that very large (e.g. greater than 10000) and very small (less than 0.001) values be shown in scientific notation whilst everything else is in fixed-format?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions