mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-11-16 15:27:46 +00:00
fix: print external HR with 3 decimals max
This commit is contained in:
parent
b943da8b22
commit
14a0da9764
1 changed files with 2 additions and 2 deletions
|
@ -598,7 +598,7 @@ impl<'a> Algorithm<'a> {
|
|||
output_console(
|
||||
&mut self.gui_api_xvb.lock().unwrap().output,
|
||||
&format!(
|
||||
"estimated external HR on XvB: {}kH/s",
|
||||
"estimated external HR on XvB: {:.3}kH/s",
|
||||
external_xvb_hr / 1000.0
|
||||
),
|
||||
crate::helper::ProcessName::Xvb,
|
||||
|
@ -609,7 +609,7 @@ impl<'a> Algorithm<'a> {
|
|||
output_console(
|
||||
&mut self.gui_api_xvb.lock().unwrap().output,
|
||||
&format!(
|
||||
"estimated external HR on P2pool: {}kH/s",
|
||||
"estimated external HR on P2pool: {:.3}kH/s",
|
||||
external_p2pool_hr / 1000.0
|
||||
),
|
||||
crate::helper::ProcessName::Xvb,
|
||||
|
|
Loading…
Reference in a new issue