opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Round the critical value shown on the drug profile page #1075

Closed andrewhercules closed 4 years ago

andrewhercules commented 4 years ago

On the drug profile page, we round the critical values in the Pharmacovigilance section rows to 2 decimal points. However, the value we display in the column heading has n number of decimal points - in some cases, more than 10.

For example, for Rofecoxib, we display a critical value of 150.59409035651765.

Screenshot 2020-05-22 at 16 56 23

Can we please round the critical value in the column heading to 2 decimal places? So for Rofecoxib, it would be 150.59.

andrewhercules commented 4 years ago

@LucaFumis could you please look into this?

andrewhercules commented 4 years ago

Ticket closed as work merged into alpha