一,十进制(decimal system)转换函数说明1,十进制转二进制 decbin() 函数,如下实例echo decbin(12); //输出 1100echo decbin(26); //输出 11010decbin(PHP 3, PHP 4, PHP 5)decbin -- 十进制转换为二...
分类:
其他好文 时间:
2014-10-28 17:42:45
阅读次数:
156
递归实现: 1 /* 2 输入:十进制整数. 3 输出:字符串. 4 */ 5 void 6 conv(int decimal) { 7 if(decimal / 10 != 0) 8 conv(decimal / 10); 9 putchar(decimal ...
分类:
其他好文 时间:
2014-10-24 18:06:37
阅读次数:
158
/// /// 格式化 Decimal 数字 用于有效计算/// /// /// /// public static decimal FormatDecimal(decimal ori){ if (ori == 0) { return 0; } decimal nu...
分类:
编程语言 时间:
2014-10-24 18:05:33
阅读次数:
259
use master
drop table customer
create table customer(
id int primary key,
account decimal check(account>0),
name varchar(20)
)
--use master
alter table dbo.customer
add check(customer.account...
分类:
数据库 时间:
2014-10-23 16:18:44
阅读次数:
240
值类型和引用类型的分类:值类型包括:int long float char bool enum struct decimal(比浮点类型更精确的数据类型)引用类型包括:类(system.object) 字符串 string 自定义类 class 接口 interface 数组 int[] strin...
分类:
其他好文 时间:
2014-10-23 16:04:17
阅读次数:
174
The US ASCII Character SetUS ASCII, ANSI X3.4-1986 (ISO 646 International Reference Version)Codes 0 through 31 and 127 (decimal) are unprintable contr...
分类:
Web程序 时间:
2014-10-22 20:12:32
阅读次数:
399
创建数据库
creat table test(
#整数通常使用int
test_id int,
#小数通常使用decimal
test_price decimal,
#普通文本通常使用,并使用Default指定默认值
test_name varchar(255) default "Xxx",
#大文本类型使用test
test_desc text,
#图片使用blob
tes...
分类:
数据库 时间:
2014-10-22 14:42:51
阅读次数:
320
创建数据库
creat table test(
#整数通常使用int
test_id int,
#小数通常使用decimal
test_price decimal,
#普通文本通常使用,并使用Default指定默认值
test_name varchar(255) default "Xxx",
#大文本类型使用test
test_desc text,
#图片使用blob
tes...
分类:
数据库 时间:
2014-10-22 14:42:48
阅读次数:
153
我恶魔呢放假额菲菲金额发 我恶魔呢放假额菲菲金额发原理就是先在左边用padding空开,再用text-indext把第一行收回来附:参考资料:list-style-type的用法语法: list-style-type : disc | circle | square | decimal | low....
分类:
Web程序 时间:
2014-10-21 21:17:34
阅读次数:
180
1.实践经验部分Oracle--->mysqlNUMBER(12)--->INT(12)NUMBER(12,2)--->DECIMAL(12,2)或FLOAT(12,2)或DOUBLE(12,2)VARCHAR2--->VARCHARCLOB--->BLOB DATE--->DATE(或DATETI...
分类:
数据库 时间:
2014-10-21 14:59:50
阅读次数:
298