大家好, 我问这个问题,因为我搜索过并没有发现任何与此查询相关的内容。如果这是一个错误,我表示歉意。 请参阅以下代码。我正在使用2个ASP页面。一个用于填充十进制值(实际上是某物的单价),另一个用于接收和处理它。用户可以将第一页中的值作为整数输入,也可以输入带小数位的数字。防爆。 2345.88因为产品往往具有这种价值。 现在这是我收到它的第二个ASP页面。
Hello all, I ask this question because I searched and did not find anything that related to this query. My apologies if this is a mistake. Please see the following code. I am using 2 ASP pages. One to fill up a decimal value (it is actually the unit price of something) and the other to receive and process it. The value in the first page can be entered by the user as a whole number OR as a number with decimal places. Ex. 2345.88 since products tend to have that kind of values. Now this is in the second ASP page where I receive it.
展开 | 选择 | Wrap | 行号 推荐答案Sk, 这很奇怪。我只是尝试了这里,它运行良好。 Jared Sk, That''s odd. I just tried it here and it worked fine. Jared
Sk, 那是'奇。我只是尝试了这里,它运行良好。 Jared Sk, That''s odd. I just tried it here and it worked fine. Jared
yes ....它在你的例子中运行正常。我的仍然无法正常工作。您可能知道的任何功能或格式结构可以帮助我吗? 请帮忙。 Sk
yes....it does work fine in your example. In mine it still does not work properly. Any functions or formatting structures you might know to help me with this? Please help. Sk
yes ....它在你的例子中运行正常。我的仍然无法正常工作。您可能知道的任何功能或格式结构可以帮助我吗? 请帮忙。 Sk yes....it does work fine in your example. In mine it still does not work properly. Any functions or formatting structures you might know to help me with this? Please help. Sk
如果我看到你的代码,我就不能想到任何东西...... 你是否正在使用formatPercent或类似的东西点? Jared
I can''t think of anything off hand, maybe if I saw your code... Are you using a formatPercent or something similar at some point? Jared
更多推荐
格式化Request.Form中的值的十进制值
发布评论