黑马程序员--鄢振东----------------------ASP.Net+Unity3D游戏开发、.Net培训、期待与您交流! ----------------------在C#中,值类型有:int double decimal bool enum struct . 应用类型有:stri...
分类:
其他好文 时间:
2014-07-16 20:21:44
阅读次数:
248
1: CAST ( (SalesAgreement.HTPrice / 10000) as decimal(18,2) ) as HTPrice
分类:
数据库 时间:
2014-07-16 20:11:16
阅读次数:
196
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Find and list all four-digit numbers in decimal notation that have the property ...
分类:
其他好文 时间:
2014-07-13 18:17:24
阅读次数:
198
今天在项目中遇到一个问题,我使用**ol**,并且在css里设置list-style不为none,但是始终显示不了序号,当然最初我认为是css样式层叠被覆盖,但是连最终神器都用上了:```cssol { list-style-type: decimal!important; }```问题却还是没有解...
分类:
其他好文 时间:
2014-07-11 12:52:33
阅读次数:
764
nt/Decimal.ToString 方法 (String, IFormatProvider)decimal value = 16325.62m; string specifier; CultureInfo culture;// Use standard numeric format specif...
分类:
其他好文 时间:
2014-06-24 09:52:33
阅读次数:
299
Asp.net中固定位数用零补齐的函数(已解决,示例)!
在开发当中,出现编号实现8位数,但需要用0补齐。如:123,表示:0000123。
实例如下:
decimal aaa = 123; // 数值型
string bbb = aaa.ToString(); // 转换为字符
bbb = bbb.PadLeft(7, '...
分类:
Web程序 时间:
2014-06-22 22:34:18
阅读次数:
279
select ROUND(12.555, 2)--12.560select cast(12.5550 as decimal(10,2))--12.56
分类:
数据库 时间:
2014-06-18 15:38:52
阅读次数:
197
当:decimal sum = 123456.784M;sum = decimal.Round(sum, 2 , MidpointRounding.AwayFromZero);sum的值为:123456.78当:decimal sum = 123456.785M;sum = decimal.Roun...
分类:
其他好文 时间:
2014-06-17 15:35:57
阅读次数:
184
浮点数说明:小数点左边,能大到多少?小数点右边,又能大到多少?小数型float(M),decimal(M,D)M叫“精度”---->代表总位数(不包含点),而D是标度,代表小数位(小数右边的位数)例:float(6,2)------>-999999.99到9999.99在该例子中6是M(精度)2是D(标度)mysql>..
分类:
其他好文 时间:
2014-06-16 16:43:09
阅读次数:
184
http://acm.hdu.edu.cn/game/entry/problem/list.php?chapterid=1§ionid=21.2.5
#include
/*
题意:找闰年。
if((i%4==0 && i%100!=0) || i%400==0)count++;
3
2005 25
1855 12
2004 10000
2108
1904
43236
*/
int ma...
分类:
其他好文 时间:
2014-06-14 06:32:08
阅读次数:
320