Post Reply 
(11C) Profit Pricing Solver
08-23-2021, 12:59 AM (This post was last modified: 08-25-2021 07:37 AM by Gamo.)
Post: #3
RE: (11C) Profit Pricing Solver
Program on Post #2 Update

Just noticed that when user input Cost with Price and looking for Margin the

Margin routine will return "Error" on display due to the "Division by Zero"

when the Price input is 100.

Here is the updated routine start from LBL D

Code:

LBL D  // Margin%
GTO 4
LBL 9
RCL 2 
RCL 1
%CH
CHS
LBL 4
STO 4
EEX 2
x
LSTx
RCL 4
-
X=0 <------ If subtraction return zero 
GTO 9 <---- Goto Lable 9
รท
STO 3
RCL 4
R/S
GTO 9

Remark:
When price input is 100 the Margin routine give result right away no need to press [R/S]

Added on program can be use to find the "Profit Amount" on LBL E
Program Routine: [LBL] [E] [RCL] 2 [RCL] 1 [-] [RTN]

Gamo 8/2021
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(11C) Profit Pricing Solver - Gamo - 05-10-2019, 06:54 AM
RE: (11C) Profit Pricing Solver - Gamo - 06-19-2020, 05:52 AM
RE: (11C) Profit Pricing Solver - Gamo - 08-23-2021 12:59 AM



User(s) browsing this thread: 1 Guest(s)