码迷,mamicode.com
首页 >  
搜索关键字:float    ( 12549个结果
MySQL数据类型
数值类型 整型(tinyint,smallint,int,bigint,mediumint,) 对于整型, 有3个属性: unsigned、zerofill(在查询时的格式化输出)、auto_increment 浮点型(float 4,double 8,real,double precision.....
分类:数据库   时间:2015-11-09 17:12:06    阅读次数:241
清除缓存
清除缓存#pragma mark 计算单个文件- (float)fileSizeAtPath:(NSString*)path{NSFileManager*fileManager =[NSFileManager defaultManager];if ([fileManager fileExistsAt...
分类:其他好文   时间:2015-11-09 15:47:48    阅读次数:219
创建类的对象
创建对象类型assign:用于非指针变量,用于基础数据类型(例如NSInteger)和C数据类 型(int, float,double,char,等)另外还有id如:@property(nonatomic,assign) int number@property (nonatomic,assign) ...
分类:其他好文   时间:2015-11-09 15:45:51    阅读次数:290
div布局
Margin: Margin属性用于设置两个元素之间的距离。Padding: Padding属性用于设置一个元素的边框与其内容的距离。Clear: 使用Float属性设置一行有多个DIV后(多列),最好在下一行开始之前使用Clear属性清楚一下浮动,否则上面的布局会影响到下面。12345678910...
分类:其他好文   时间:2015-11-09 01:34:22    阅读次数:266
详解CSS float属性
CSS中的float属性是一个频繁用到的属性,对于初学者来说,如果没有理解好浮动的意义和表现出来的特性,在使用的使用很容易陷入困惑,云里雾里,搞不清楚状态。本文将从最基本的知识开始说起,谈谈关于浮动的应用,出现的问题和解决方案。
分类:Web程序   时间:2015-11-09 00:01:11    阅读次数:387
fly bird 案例代码_bird
1 using UnityEngine; 2 using System.Collections; 3 4 public class bird : MonoBehaviour { 5 public float timer = 0; 6 public int freamNumbuer...
分类:其他好文   时间:2015-11-08 19:14:25    阅读次数:159
UIImage图片处理
#pragma mark -#pragma mark - 缩放处理+ (UIImage *)scaleImage:(UIImage *)image withScale:(float)scale{ UIGraphicsBeginImageContext(CGSizeMake(image.size...
分类:其他好文   时间:2015-11-08 16:30:57    阅读次数:277
使用Graham扫描法求二维凸包的一个程序
1 #include "includeall.h" 2 #include "Link.class.h" 3 4 int RightOrLeft(float x1,float y1,float x2,float y2,float x3,float y3)//判断第三个点在前两个点连成的直线...
分类:其他好文   时间:2015-11-08 15:09:35    阅读次数:213
2015.11.07
常见的CSS技巧1.div的垂直居中问题: vertical-align:middle;将行距增加到和整个DIV一样高: line-height:200px; 然后插入文字,就垂直居中了。缺点是要控制内容不要换行 。2. margin加倍的问题设置为float的div在ie下设置的margin会加倍...
分类:其他好文   时间:2015-11-07 23:10:29    阅读次数:260
常用操作
对齐操作 1.margin margin-left:0px 居中:0px auto 2.position left:0px 3.float float:left属性: height width max-height min-height max...
分类:其他好文   时间:2015-11-07 17:27:42    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!