INFORMIX-SQL 7.3執行屏幕:包括總售價稅
假設我有誰願意支付顧客$ 100(含7%的稅),我可以用什麼邏輯 這樣當出納文員在含稅銷售金額中輸入100美元,則將 計算銷售價格和稅額,使其加起來爲100美元。
我有以下3個字段標識在我執行的屏幕:
sprice = transaction.sale_price;
stax = transaction.sale_tax;
stotal = transaction.sale_total;
after editadd of transaction.sale_price
?...what goes here...?