string abc=12.13
string a=abc.Split('.')[0];
string b=abc.Split('.')[1];
string a=abc.Split('.')[0];
string b=abc.Split('.')[1];
解决方案 »
- 使用Webbroser设置input属性的问题
- vs2005界面控件
- 使用DevExpress GridView 控件,界面出现问题
- 数据库连接问题
- 关于登陆界面数据库的一个小问题,请大虾指教!!
- 【求教】如何自动关闭某些程序弹出的错误窗口?
- 在datagrid里如何取得选中的行号?
- 哪位朋友考过微软的70-536?
- 用户控件问题
- 很简单的一个问题,但我不会,哪位大哥可回答,不胜感激
- Socket.IOControl( int ioControlCode, byte[] optionInValue, byte[] optionOutValue)中的ioControlCode是什么意思?
- 请问如何直接使用DataSet中的数据重新组织查询数据。急,在线等,谢谢!
int a = (int) i;
int b = i -b ;//这里你再改改....
a.ToString() ;
b.ToString() ;
Match m = regex.Match("12.334");Console.WriteLine("整数是:{0}, 小数:{1}", m.Group[1].Value, m.Group[2].Value);
string abc=12.13
string a=abc.Split('.')[0];
string b=abc.Split('.')[1];
string str=f.ToString();
int i=str.IndexOf(".")string s1=str.Substring(0,i-1);
string s2=str.Substring(i+1);