Browse Source

Limit decimal precision on sack sum

Neal Wilson 9 years ago
parent
commit
78796f18df
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      config/Reports/fypurchase.xml

+ 1
- 1
config/Reports/fypurchase.xml View File

117
 				output.writeEndElement(); //tbody
117
 				output.writeEndElement(); //tbody
118
 				output.writeStartElement("tfoot");
118
 				output.writeStartElement("tfoot");
119
 				output.writeTextElement("th", "Totals:");
119
 				output.writeTextElement("th", "Totals:");
120
-				output.writeTextElement("td", sacktotal);
120
+				output.writeTextElement("td", sacktotal.toFixed(2));
121
 				output.writeTextElement("td", unittotal.toFixed(2));
121
 				output.writeTextElement("td", unittotal.toFixed(2));
122
 				output.writeTextElement("td", costtotal.toFixed(2));
122
 				output.writeTextElement("td", costtotal.toFixed(2));
123
 				output.writeEndElement(); //tfoot
123
 				output.writeEndElement(); //tfoot

Loading…
Cancel
Save