Browse Source

Limit precision of remaining stock in new batch window

Neal Wilson 9 years ago
parent
commit
b3c821a967
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      config/Windows/newbatch.xml

+ 1
- 1
config/Windows/newbatch.xml View File

@@ -243,7 +243,7 @@
243 243
                                     displayValue = convertFromPounds(displayValue, "oz");
244 244
                                     break;
245 245
                             }
246
-                            displayValue = "" + displayValue + " (" + bagCount + " bags)";
246
+                            displayValue = "" + Number(displayValue).toFixed(3) + " (" + Number(bagCount).toFixed(3) + " bags)";
247 247
                             if(table.data(r, 2, 0) != displayValue)
248 248
                             {
249 249
                                 table.setData(r, 2, displayValue, 0);

Loading…
Cancel
Save