码迷,mamicode.com
首页 >  
搜索关键字:decimal    ( 1358个结果
CRM 2011 Plugin 知识点小总结 plugin初学者必备知识
1.??的使用,就是判断值是否为null,为null的话,给赋初值,否则就直接取值。decimal new_amount = 0;if (targetEntity.Contains("字段1")) { //?? 判断(targetEntity["字段1"] as Money为null的话,赋值为.....
分类:其他好文   时间:2015-01-20 15:21:10    阅读次数:208
UVA Multiplying by Rotation
Multiplying by Rotation  Warning: Not all numbers in this problem are decimal numbers! Multiplication of natural numbers in general is a cumbersome operation. In some cases howev...
分类:其他好文   时间:2015-01-18 17:13:10    阅读次数:147
(简单) POJ 1426 Find The Multiple,BFS+同余。
Description Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits...
分类:其他好文   时间:2015-01-16 23:32:56    阅读次数:146
uva 11038
Problem E: How many 0's?A Benedict monk No. 16 writes down the decimal representations of all natural numbers between and includingmandn,m≤n. How many...
分类:其他好文   时间:2015-01-15 23:30:26    阅读次数:216
Python 学习笔记(一)
1、内置对象 数字 1234,3.1415, 3+4j, Decimal, Fraction 字符串 ‘spam', "guido's". 列表 [1, [2, 'three'], 4] 字典 {'food':'spam', 'taste':'yum'} 元组 (1, 's...
分类:编程语言   时间:2015-01-15 15:44:18    阅读次数:193
BCD码与十进制
BCD码(Binary-Coded Decimal?)亦称二进码十进数或二-十进制代码。用4位二进制数来表示1位十进制数中的0~9这10个数码。是一种二进制的数字编码形式,用二进制编码的十进制代码。BCD码这种编码形式利用了四个位元来储存一个十进制的数码,使二进制和十进制之间的转换得以快捷的进行。这种编码技巧最常用于会计系统的设计里,因为会计制度经常需要对很长的数字串作准确的计算。相对于一般的浮点...
分类:其他好文   时间:2015-01-15 00:32:42    阅读次数:188
Fraction to Recurring Decimal 166
题目描述:给出一个小数的分子和分母,将这个小数转化成string类型表示的小数形式当小数出现循环时,用小括号将循环节括起来题目分析:这个题目重点是找到循环节对于存在循环节的情况,找到循环节是重点,我们 当什么情况下循环节完整的出现出现了呢? 我们不断的做除法,每次都会有一个余数,如果当前的余数在.....
分类:其他好文   时间:2015-01-14 00:50:21    阅读次数:229
SQL 数据类型、约束、索引及视图
一、数据类型:整数:int,bigint,smallint小数:float,real,decimal(长度,精度),numeric(长度,精度)字符:char(n),varchar(n) 8000英文字符,4000汉字text——大文本。逻辑:bit0,1/true/false二进制类型:binar...
分类:数据库   时间:2015-01-13 15:51:14    阅读次数:195
数据库的数据类型、约束、索引、视图
数据库的数据类型、约束、索引、视图 一、数据类型 (一)数值型数据 整数 int,bigint,smallint 小数 float,real,decimal(长度,精度),numeric(长度,精度) 常用的:float(相当于C#中的double),decimal (二)字符数据 char(n) ...
分类:数据库   时间:2015-01-13 00:00:34    阅读次数:459
SQL(3)--约束、存储过程
一、数据类型:整数:int,bigint,smallint小数:float,real,decimal(长度,精度),numeric(长度,精度)字符:char(n),varchar(n) 8000英文字符,4000汉字 text——大文本。逻辑:bit 0,1/true/false二进制类型:bin...
分类:数据库   时间:2015-01-12 17:17:14    阅读次数:303
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!