-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:
jbjohnso 2009-12-14 17:50:59 +00:00
parent 14d515d0fa
commit cec6dc7a43

View File

@ -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);