-Tightly pack the precision data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
14d515d0fa
commit
cec6dc7a43
@ -4283,11 +4283,11 @@ sub readenergy {
|
||||
$entry = process_energy_from_iem($iem);
|
||||
$iem->prep_get_precision();
|
||||
execute_iem_commands($iem);
|
||||
$entry .= sprintf(" +/- %.1f %",$iem->energy_ac_precision()*0.1);
|
||||
$entry .= sprintf(" +/-%.1f%",$iem->energy_ac_precision()*0.1); #note while \x{B1} would be cool, it's non-trivial to support
|
||||
push @entries,$entry;
|
||||
$iem->prep_get_dc_energy();
|
||||
$entry = process_energy_from_iem($iem);
|
||||
$entry .= sprintf(" +/- %.1f %",$iem->energy_dc_precision()*0.1);
|
||||
$entry .= sprintf(" +/-%.1f%",$iem->energy_dc_precision()*0.1);
|
||||
push @entries,$entry;
|
||||
return (0,@entries);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user