码迷,mamicode.com
首页 >  
搜索关键字:float    ( 12549个结果)
ajax进度条
.graph { width: 400px; height: 25px; border: 1px solid #f8b3d0; }.bar { background-color: #ffe7f4; display: block; float: left; height: 100%; text-ali...
分类:Web程序   时间:2015-01-29 15:55:13    阅读次数:169
hdu 1009 qsort运用
#include #include #include #include #include #include #include //using namespace std;struct type { float javabean,food; float leve;}num[1010];int cmp(...
分类:其他好文   时间:2015-01-29 14:10:07    阅读次数:167
float浮动改变display类型
position:absolute和float都会隐式的改变display类型。也就是说,不论之前是什么类型的元素(display:none除外),只要设置了position:absolute或float,都会让元素以display:inline-block的方式显示。可以设置长宽,默认宽度并不占满...
分类:其他好文   时间:2015-01-29 12:20:14    阅读次数:200
ScrollView反弹效果
1 public class BounceScrollView extends ScrollView { 2 private View inner;// 孩子View 3 4 private float y;// 点击时y坐标 5 6 private Rec...
分类:其他好文   时间:2015-01-29 09:17:34    阅读次数:130
python学习笔记(二) - 函数
一. 调用函数 python内置了一些数据类型转换函数,比如int()函数可以把其他数据类型转换为整形 >>> int('123') 123 >>> int(12.34) 12 >>> float('12.34') 12.34 >>> str(1.23) '1.23' >>> unicode(100) u'100' >>> bool(1) True >>> bool('') False函数名其...
分类:编程语言   时间:2015-01-28 22:40:03    阅读次数:166
【C语言模拟实现】浮点数-转-定点数
要想超神,就要什么都精!知识准备:1. 输出浮点数的十六进制形式?(利用指针输出)将浮点数指针-转换成-整型指针,以十六进制的格式输出指针内容。示例程序:#includeint main(){ float *var; scanf("%f",var); pri...
分类:编程语言   时间:2015-01-28 21:06:38    阅读次数:400
Java数据类型+转义字符
String是类,属于引用类型。小数默认类型是double,在开发中基本上是用到float就够了。整数默认类型是int基本数据类型:类似于普通的值。boolean类型只有true和false两个值。引用数据类型:传递的是内存的地址浮点类型实际上就是小数在开发中尽量为每一个变量指定一个具体值,不要使用...
分类:编程语言   时间:2015-01-28 19:10:22    阅读次数:195
【c++程序】静态成员的使用
#include using namespace std; class aspl { public: aspl(float p){price=p;TotalPrice=p+TotalPrice;} ~aspl(){TotalPrice=TotalPrice-price;} static float get(){return TotalPrice;} private: float price...
分类:编程语言   时间:2015-01-28 18:00:04    阅读次数:211
ntv.js框架(第三章) - 机顶盒CSS样式的编写
机顶盒支持基础的CSS样式属性,例如:margin, padding, float, position等,各厂商对于基础样式属性的渲染差异性也不大。但在CSS3和动画效果支持上各厂商偏差较大,由于机顶盒属弱终端类型(硬件资源弱...
分类:Web程序   时间:2015-01-28 13:11:18    阅读次数:195
C编译器剖析_2.4 C语言的类型系统
2.4  C语言的类型系统     这一节,我们准备初步讨论一下C语言的类型系统,相关的代码主要在ucl\type.c和ucl\type.h中。我们知道,一个进程的地址空间可分为代码区和数据区。     对于数据区,C语言提供了char、short、int、long、float和double等基本类型来刻画基本的操作数。char、short、int和long等整型还进一步分有unsigned和...
分类:编程语言   时间:2015-01-28 09:56:58    阅读次数:251
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!