原文:SQL去掉小数点有效数字后的所有0 第一种方法 select cast(2.5000000000000 as real)
select cast(2 as real)
select cast(2.00000 as real) 第二种方法 CREATE function [dbo].[Clear...
分类:
数据库 时间:
2014-11-12 01:59:07
阅读次数:
207
Cannyfunction [ canny ] = canny( rgb )temp=rgb2gray(rgb);canny=edge(temp,'canny');end灰度temp=rgb2gray(rgb);播放视频clear allsource = VideoReader('d:\v\\bus...
分类:
其他好文 时间:
2014-11-11 12:30:23
阅读次数:
265
1、clear:both;.clear{ clear:both; margin:0; padding:0; } 可作用于各子元素之间,消除前面子元素浮动对后面子元素的影响。2、overflow:hidden; 用在父元素上,作用是消除子元素浮动对父元素产生的影响,但是无法消除...
分类:
其他好文 时间:
2014-11-10 19:37:03
阅读次数:
165
转载自http://blog.csdn.net/berber78/article/details/7278408一.intent.setFlags()方法中的参数值含义:1.FLAG_ACTIVITY_CLEAR_TOP:例如现在的栈情况为:A B C D 。D此时通过intent跳转到B,如果这个...
分类:
其他好文 时间:
2014-11-10 17:06:27
阅读次数:
129
%matlab验证采样定理
%该程序用于画出原信号的图形以及其DFT图形
clear;
t = -0.1:0.001:0.1;%该参数用于画原信号图形
k = 0:200;%时域取样
n = -999:0;%频域取样
f = sin(2*pi*60*t)+cos(2*pi*25*t);%原函数, 由t的取值可得f有201个值
s = exp(-j*2*pi...
分类:
其他好文 时间:
2014-11-08 18:20:15
阅读次数:
448
1 struct SBT{ 2 int treeCnt, root; 3 struct tnode{int data, lc, rc, size;} tree[maxn]; 4 inline void clear(){treeCnt = 0; root = 0;} ...
分类:
其他好文 时间:
2014-11-08 07:06:48
阅读次数:
299
* 下拉菜单,为了用户方便,可以自定义一二级菜单的鼠标移入移出颜色。
* 在IE6+,chrome,FF浏览器上测试通过。
* 唯一缺憾就是IE6下,下拉菜单无法遮挡底部文字。有兴趣的用户可以自行修改css样式。
*{margin:0;padding:0;list-style:none;}
p{clear:left;}
a{text-decoration: none;}
bo...
分类:
其他好文 时间:
2014-11-07 16:58:32
阅读次数:
256
this.chartControl1.Series.Clear();//清空 //获得数据 sqldb sqldb = new sqldb(); string sql = "select T_Cd,T_Hg,T_As,T_Pb,T_Cr,T_Cu,T_Ni...
分类:
其他好文 时间:
2014-11-07 16:53:49
阅读次数:
185
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Document</title> <style> #container2 { ? ?clear:left; ? ?float:left; ? ?width:100%; ? ?overflow:hidden; ? ?background:#ffa7a7;...
分类:
其他好文 时间:
2014-11-07 15:10:50
阅读次数:
181
So how should things work? The first principle is that code should be clear and simple. If you want to output some text, you call web.output. If you w...
分类:
Web程序 时间:
2014-11-06 19:12:15
阅读次数:
259