Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shrink Factor - No Decimals - SOLVED
11-08-2018, 06:17 AM, (This post was last modified: 11-11-2018, 06:24 AM by VortecCPI.)
#1
Shrink Factor - No Decimals - SOLVED
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?
https://www.linkedin.com/in/eclipsepaulbecker
Reply


Messages In This Thread
Shrink Factor - No Decimals - SOLVED - by VortecCPI - 11-08-2018, 06:17 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)