Skip to content

Commit 11cd5a3

Browse files
committed
Show two decimal places in dashboard
1 parent 3ab8ee7 commit 11cd5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/request_handlers/dashboard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pub async fn handle_dashboard(ctxt: Arc<SiteCtxt>) -> ServerResult<dashboard::Re
116116
.collect::<Vec<_>>(),
117117
)
118118
.map(|((_id, point), _interpolated)| {
119-
(point.expect("interpolated") * 10.0).round() / 10.0
119+
(point.expect("interpolated") * 100.0).round() / 100.0
120120
})
121121
.collect::<Vec<_>>();
122122

0 commit comments

Comments
 (0)