Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将整数除法 () 除以 0.25,但 VB 告诉我我尝试除以零,我也尝试除以 (1/4)。
这是我的片段
AmountLeft = Remainder \ 0.25 lblQuartersAmount.Text = AmountLeft
您不能用非整数进行整数除法;只是截断并在之后投射它。
AmountLeft = CInt(Math.Truncate(Remainder / 0.25))
有什么问题* 4?=)
* 4
getThis 只是一个个人学习问题。我想检索我的函数 $page->content_start(); 之间的所有内容;和 $page->content_end(); 获得它的最佳方法是什么?我不想包含它或回应它,这可能吗?
非常感谢,非常感谢您的建议
<?php include 'pages/indexpage.class.ph