码迷,mamicode.com
首页 >  
搜索关键字:decimal    ( 1358个结果
hdu4734(数位DP)
F(x) Time Limit: 1000/500 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1684    Accepted Submission(s): 650 Problem Description For a decimal number x ...
分类:其他好文   时间:2014-08-29 14:43:58    阅读次数:169
Fixed-Point Types (Exact Value) - DECIMAL, NUMERIC
Fixed-Point Types (Exact Value) - DECIMAL, NUMERIC ?DECIMAL(M,D) The DECIMAL and NUMERIC types store exact numeric data values. These types are used when it is important to preserve(保存) exact ...
分类:其他好文   时间:2014-08-27 14:54:38    阅读次数:270
ZOJ - 1136 Multiple (同余+BFS)
Description a program that, given a natural number N between 0 and 4999 (inclusively), and M distinct decimal digits X1,X2..XM (at least one), finds the smallest strictly positive multiple of N that ...
分类:其他好文   时间:2014-08-26 21:34:06    阅读次数:342
System.Math 方法
名称说明Abs(Decimal)返回Decimal数字的绝对值。Abs(Double)返回双精度浮点数字的绝对值。Abs(Int16)返回 16 位有符号整数的绝对值。Abs(Int32)返回 32 位有符号整数的绝对值。Abs(Int64)返回 64 位有符号整数的绝对值。Abs(SByte)返回...
分类:其他好文   时间:2014-08-26 21:25:36    阅读次数:878
projecteuler---->problem=36----Double-base palindromes
Problem 36 The decimal number, 585 = 10010010012 (binary), is palindromic in both bases. Find the sum of all numbers, less than one million, which are palindromic in base 10 and base 2. (Please...
分类:其他好文   时间:2014-08-25 10:06:04    阅读次数:198
浮点数比较
参照MSDN定义: /*?Compile?options?needed:?none.?Value?of?c?is?printed?with?a?decimal point?precision?of?10?and?6?(printf?rounded?value?by?default)?to show?the?difference */...
分类:其他好文   时间:2014-08-22 16:32:59    阅读次数:255
newtonsoft.json 序列化,反序列化
public class Book { public string BookID { get; set; } public DateTime PublishDate { get; set; } public decimal Price { ...
分类:Web程序   时间:2014-08-21 09:38:14    阅读次数:265
UVA - 11038 How Many O's? (计数)
Description Problem E: How many 0's? A Benedict monk No. 16 writes down the decimal representations of all natural numbers between and including m and n, m ≤ n. How many 0's will he write down? ...
分类:其他好文   时间:2014-08-20 19:42:02    阅读次数:224
Project Euler 26 计算小数位循环的位数
A unit fraction contains 1 in the numerator. The decimal representation of the unit fractions with denominators 2 to 10 are given: 1/2 =  0.5 1/3 =  0.(3) 1/4 =  0.25 1/5...
分类:其他好文   时间:2014-08-20 16:25:32    阅读次数:157
使用嵌入式关系型SQLite数据库存储数据
在Android平台上,集成了一个嵌入式关系型数据库—SQLite,SQLite3支持 NULL、INTEGER、REAL(浮点数字)、TEXT(字符串文本)和BLOB(二进制对象)数据类型,虽然它支持的类型只有五种,但实际上sqlite3也接受varchar(n)、char(n)、decimal(...
分类:数据库   时间:2014-08-20 14:02:22    阅读次数:409
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!