码迷,mamicode.com
首页 >  
搜索关键字:decimal    ( 1358个结果
CodeForces-233B-Non-square Equation
Description Let’s consider equation:x2?+?s(x)·x?-?n?=?0,? where x,?n are positive integers, s(x) is the function, equal to the sum of digits of number x in the decimal number system.You are given an...
分类:其他好文   时间:2015-04-04 16:49:33    阅读次数:201
Android基础-03
Android基础-03 01_android下数据库的创建(重点) 在Android平台上,集成了一个嵌入式关系型数据库—SQLite,SQLite3支持 NULL、INTEGER、REAL(浮点数字)、TEXT(字符串文本)和BLOB(二进制对象)数据类型,虽然它支持的类型只有五种,但实际上sqlite3也接受varchar(n)、char(n)、decimal(p,s) 等数据类型,...
分类:移动开发   时间:2015-04-03 13:36:52    阅读次数:167
二进制转bcd
BCD:Binary Coded Decimal 即用4位二进制编码表示1位的十进制数.定义:BCD码这种编码形式利用了四个位元来储存一个十进制的数码,使二进制和十进制之间的转换得以快捷的进行。这种编码技巧,最常用于会计系统的设计里,因为会计制度经常需要对很长的数字串作准确的计算。相对于一般的浮点式...
分类:其他好文   时间:2015-04-02 23:52:34    阅读次数:366
asp.net的decimal保留两位小数
C#的decimal保留两位小数
分类:Web程序   时间:2015-04-02 15:01:37    阅读次数:119
android sqlite支持的数据类型
Sqlite3支持的数据类型 :NULL、INTEGER、REAL、TEXT、BLOB但实际上,sqlite3也接受如下的数据类型: smallint 16 位元的整数。 interger32 位元的整数。 decimal(p,s) p 精确值和 s 大小的十进位整数,精确值p是指全部有几个数(.....
分类:移动开发   时间:2015-04-02 01:02:04    阅读次数:365
SQLServer 触发器----增删改触发,两张表
ALTER TRIGGER [dbo].[PriceRange]ON[dbo].[Tab_SaleAndCarStyle]for update,insert,deleteASdeclare @Saleshop int,@minDfJjSale decimal(18,3),@maxDfJjSale d...
分类:数据库   时间:2015-04-01 23:20:05    阅读次数:190
【StiReport】在设计器中增加自定义函数
1、创建一个自定义函数 namespace Winform { public class methos { public static string 小数转换成中文(decimal 小数) { ...
分类:其他好文   时间:2015-04-01 17:21:12    阅读次数:147
python读写dbf文件
Python读写dbf文件 #?coding=utf8 """ A?reader?and?writer?for?dbf?file.see?http://code.activestate.com/recipes/362715/?for?moe?detail """ import?struct import?datetime import?decimal i...
分类:数据库   时间:2015-04-01 11:32:49    阅读次数:1398
mysql 基本操作1
create database dd; 建立dd数据库create database `database` 建立名字为database的数据库drop database dd; 删除dd数据库create table d1(id decimal(3,2) 3位字符含有2位小数点primary key...
分类:数据库   时间:2015-04-01 11:11:08    阅读次数:165
[LeetCode] Fraction to Recurring Decimal 哈希表
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is repeating,...
分类:其他好文   时间:2015-03-31 22:05:59    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!