11-08-2018, 06:17 AM
Stocks.php
Shrink Factor is rounding to zero decimal places. We use 20-foot lengths of pipe that have loss due to curf so shrinkage is small but must be accounted for. The script writes the value to the database but shows a zero due to rounding during display.
I changed the locale_number_format to use 'Variable' instead of '0'. Or maybe we should use $_POST['DecimalPlaces'] value at the part?
Perhaps some of you have a better idea?
Shrink Factor is rounding to zero decimal places. We use 20-foot lengths of pipe that have loss due to curf so shrinkage is small but must be accounted for. The script writes the value to the database but shows a zero due to rounding during display.
I changed the locale_number_format to use 'Variable' instead of '0'. Or maybe we should use $_POST['DecimalPlaces'] value at the part?
Perhaps some of you have a better idea?