Tried to create the output so that it preserves the trailing 0s when I print the result out. It looks like that my perl does just as that.
Print_log $value. “\n”;
However, when I tried to get that to print using the html template, which is currently set to an XML format, the trailing 0 that were in the value from the log files disappeared.
Here is the output of what is in the log file
The first 5 displayed as it is above, but the 6th one was displayed as 4435.8. How can I keep the print out as it is on html-plate? Here is what I have in the html-template call:
my $main_tmpl = HTML::Template->new(filename => ‘xml_generate.xml');
# Find all parms in the template file and fill them with matching global parm values
my @parameter_names = $main_tmpl->param();
$main_tmpl->param( total => $total; );
Thanks for your help.