Skip to content

Commit

Permalink
fix(training_score): round training score to two decimal places
Browse files Browse the repository at this point in the history
  • Loading branch information
copios committed Jan 25, 2019
1 parent a8515ff commit 1aafe85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class TrainingScoreChart extends Component {
<XYPlot width={200} height={200} className={classes.trainingScoreChart} colorType="literal">
{segments({ opacity: 0.1 })}
{segments({ limit: score })}
{label({ color: colors[zone], label: score.toString() })}
{label({ color: colors[zone], label: score.toFixed(2) })}
</XYPlot>
)
}
Expand Down

0 comments on commit 1aafe85

Please sign in to comment.