Help Center menu


Job Ticketing manual


Configure the number of decimal places

By default, Job Ticketing calculates prices with two decimal places. Job Ticketing supports from 0 to 5 decimal places, and must align with what is configured in PaperCut MF. Please ensure both are changed.

Updating decimal places in Job Ticketing

  1. Stop the Job Ticketing service.
  2. Open the following file in a text editor: <install-path>/job-ticketing/config/
  3. Update or add the following line: decimal-places=<number of decimal places>
  4. Set <number of decimal places> to the required precision.
  5. Save the file.
  6. Restart the Job Ticketing service.

Updating decimal places in PaperCut MF

  1. Switch to the PaperCut MF Admin interface.
  2. Go to the Options menu.
  3. Enable Change number of decimal places.
  4. Set both Decimal places … fields to the same value (min: 0, max: 5).

Updating your cost scripts

If you have any existing cost scripts, follow the steps below for each of them:

  1. In the Operator interface, in the bottom left corner of the screen, click Settings.
  2. Click the Cost scripts tab.
  3. Click the script you want to open. The Edit cost script page is displayed.
  4. Search in the script contents for toFixed. It is a function used to convert a number to a string with the specified precision. If the cost scripts doesn’t have this function call, ignore that script.
  5. Make sure that this function, if present, is called with decimalPlaces as an argument, like this: .toFixed(decimalPlaces). In old versions of Job Ticketing it was called with a hard-coded value 2 instead. If that’s the case, change the argument to be decimalPlaces.
  6. Save the script and repeat the process with the next script in your list.

Keep in mind that the orders created prior to this change in a corresponding cost script will retain their previous estimated costs. Estimations for new orders only will be calculated using the new version of a script.