摘要:
盼答复
......
摘要:
rt
......
取整用 那个函数
奇怪,没有看到类似int的函数了。
NO.1 作者: snof
System.Convert.Toint();
NO.2 作者: TheAres
Math.Ceiling()
Math.Floor()
NO.3 作者: dahuzizyd
double i = 123.456;
int j = Convert.ToInt32(i);
MessageBox.Show(j.ToString());
NO.4 作者: popcorn
double f=12.34;
int i=(int)f;
摘要:
access数据库的一个表中有一个日期类型的子段,但我不管如何设置它的类型(长日期,短日期,。。。),都不能正确查询出结果,但没发生查询错误,奇怪。 strsql = "select * from table1 where mydate < 2003-8-1"; this.oledbselectcommand1.commandtext = strsql; da.f......