计算问题 [英] calculation problem

查看:88
本文介绍了计算问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




这是一个计算表格,用于表明您点了多少本书以及点击计算后获得的总折扣

它是不是所有的孔形式编码

只是计算部分

它没有计算15%的折扣

DiscountTextBox

,折扣价格

DiscountedTextBox

它只给我一个0.00金额


来自汇总中的任何计算组合框

QuantitySumTextBox

DiscountSumTextBox

DiscountedAmountSumTextBox

AverageDiscountTextBox

不算在所有

Hi

It is a calculating form to indicate on how many books you bay and the total discount you will get after you click calculate
it is not all the coding in the hole form
just the calculate part
It is not calculating the 15% discount
DiscountTextBox
, discount price
DiscountedTextBox
it only gifs me a 0.00 amount

ore any of the calculations in the summary group box
QuantitySumTextBox
DiscountSumTextBox
DiscountedAmountSumTextBox
AverageDiscountTextBox
is not calculating at all

展开 | 选择 | Wrap | 行号

推荐答案

提示:当您第一次创建问题时,系统会要求您使用[code]包装代码]标签。
TIP: When you first created your question you were asked to wrap your code with [code] tags.


如果你在第3行放置一个断点并逐行遍历代码,我敢打赌它会运行...然后你得到一个错误...然后保释出该功能。对吗?
If you put a breakpoint at line 3 and walk through the code line by line, I''ll bet it does run... then you get an error... then bail out of the function. Right?


你做过tlhintoq告诉你的事情吗?我想你只是重新发布你的代码而不试图...


史蒂文
Did you do what tlhintoq told you to do? I think you just reposted your code without trying...

Steven


这篇关于计算问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆