Skip to content

Commit

Permalink
#540 Display/parse percentages, dB and stuff with 4 fractional digits
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Mar 22, 2022
1 parent 58e7826 commit 066143e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/lib/helgoboss-learn
2 changes: 1 addition & 1 deletion main/src/domain/ui_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub fn format_volume_as_db_without_unit(volume: Volume) -> String {
if db == Db::MINUS_INF {
"-inf".to_string()
} else {
format!("{:.2}", db.get())
format!("{:.4}", db.get())
}
}

Expand Down

0 comments on commit 066143e

Please sign in to comment.