mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
🩹 Display decimal progress percentage (#399)
This commit is contained in:
parent
93d3cbf303
commit
26fe7f1e30
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ struct ProgressState {
|
|||
let phase: String
|
||||
|
||||
var percentage: String {
|
||||
String(format: "%.1f%%", arguments: [floor(percentComplete * 100)])
|
||||
String(format: "%.1f%%", floor(percentComplete * 1000) / 10)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue