Re:Copilot regurgitating Quake code, including sweary comments
by himinlomax on Friday July 02, 2021 @12:24PM
(#27713575)
> How do account 3 items that cost 1/3$ each (e.g. if in a bundle)?
You never account for fractional discrete items, it makes no sense. A bundle is one product, and a split bundle is another. For products sold by weight or volume, it's usually handled with a unit price, and a fractional quantity. That way the continuous values can be rounded but money that is accounted for needs not be.
You never account for fractional discrete items, it makes no sense. A bundle is one product, and a split bundle is another. For products sold by weight or volume, it's usually handled with a unit price, and a fractional quantity. That way the continuous values can be rounded but money that is accounted for needs not be.