Barcode scanned product shows price decimal .00 by default instaed of correct decimal values

It will not read it as price. It’s just numbers. It’s made for weight.

We do not have any logic to know that’s price.

hi memo, this is exactly I want to see but it does not work for me here. can please send me your settings of all screen shots how did u achieve this shown in vidoe capture. Many Thanks




If I use number 5 in the barcode settings I see decimal values coming with comma “,” before .00 and if I use 3 in barcode settings is just shows .00
no way I am able to get the decimal values …PLEASE HELP !

Hi Memo and all other experts,
Please can you provide me some solution, I am still struggling with decimal problem.

I’ve done something similar with the price instead of weight.

Can you share barcodes you use and what each digit means to you personally.
Do you have different type of barcodes, if so, which ones?

I can adapt my rules to manage yours


I been using this barcode pattern in the guidance of this post please see this post

What is the keycode? What do you use it for?


this is what you mean

Is there a reason you do not want to use Quantity? If you use quantity, it will be much easier to track inventory. And in the future, know how much you sold in the past.

Maybe if you explain why you want to use price instead of quantity.

can you please share some visual exmaples so I can try that out, looking forward to any suggesstions you can help with

I ran out of time doing some testing. But it appears that I was wrong about the quantity automatically applying a decimal. In my testing I could not get the decimal to be placed automatically.

I can get the quantity to use decimals through an alternate method. Here is a sample:
TabTip_63QoVAsRPQ
The first item I entered has a quantity of 12.76, with a line total of 45.43 (12.76 x 3.56 = 45.43). The second item I listed (same item) shows a quantity of 1 with the price of 3.56, the normal price.
In the above animation, I have the menu item name hard coded to be added. Any changes in the item barcode section does not change the item that will be added. I my not be able to get back to this for a few days.

Questions:

  • Does your scale have to ability to print weight instead of price?
  • Are you using barcodes right now?
  • If so, are any of the barcodes using the weight scales barcodes? Or are they product based barcodes?
1 Like

Hi Memo, can you share your screent shots for all related settings for this one you achieved please. I see your working video which is good for me.

For example in my case, there were barcodes which started with KeyCode 99
Same as Memo, I never touched those barcode settings when implementing this

Use case was, Deli shop staff would preset their scale, they would weight and package cheese, ham etc. Their scale would output a sticker with barcode. In this barcode, like yours, there would be a certain segment with encoded price.

When selling, staff would just scan this barcode sticker from the item and POS would process it. Based on the price, it would calculate QTY.

In my rules of this process, I would substring [:NumberpadValue] to take out key segments and update them as program settings to be used later.

You can find here how substr(a, b) works

Barcode 99 GIF

P.S. I can export an import file on how this works – but honestly – I dont want to be supporting custom implementation of it, so any changes you’ll have to make yourself.

Just wanted to clarify that the substr() method implemented in the expression engine ([=]) uses C#‘s string.Substring() which takes starting index and length as parameters whereas JS’ substr() takes starting index and ending index as parameters.

Here’s what I was working with. Rule to look at is TEST NUM PAD.

DefaultInstall_202503201839SQM.zip (546.6 KB)