{ int total2 = System.Convert.ToInt32(textBox1.Text); int price = total2 - total; if ((total2 - total) > 0) { label6.Text = "找您 " + price + "元"; } else { label6.Text = "付款不足"; } int g = price / 500; int i = price % 500 / 100; int n = price % 100 / 50; int m = price % 50 / 10; int v = price % 10 / 5; int b = price % 5; label1.Text = "500元" + g + "張\n" + " " + "100元" + i + "張\n" + " " + "50元" + n + "個\n" + " " + "10元" + m + "個\n" + " " + "5元" + v + "個\n" + " " + "1元" + b + "個\n" + " " ; } 這是我的button
Recommended article: Chomsky: We Are All – Fill in the Blank. This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
You are receiving this email because you subscribed to this feed at blogtrottr.com.
留言列表