摘要:
给一个字符串1.238761976E-10如何得到0.0000000001238761976这个字符串呢?BigDecimal bd = new BigDecimal("1.238761976E-10");System.out.println(bd.toPlainString()); 阅读全文
摘要:
SELECT syscolumns.name AS COLUMN_NAME, systypes.name AS DATA_TYPE, syscolumns.length as CHARACTER_MAXIMUM_LENGTH, sys.extended_properties.[value] AS C... 阅读全文
摘要:
Date.prototype.Format = function (fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.get... 阅读全文
摘要:
publicstaticclassDataTableExtensions{/// /// 转化一个DataTable/// /// /// /// publicstaticDataTable ToDataTable(thisIEnumerable list){//创建属性的集合List pList ... 阅读全文
摘要:
function InitTable(tableID, trName) { $(tableID + " tr").each(function (index, element) { if (index == 0 || index == $(tableID + " tr").leng... 阅读全文
摘要:
当期时间 js简单的获取当前日期和时间 阅读全文
摘要:
var s = "2006/10/23"; alert("今天星期"+"天一二三四五六".charAt(new Date(s).getDay())); 阅读全文
摘要:
mongodb://test:test@192.168.73.128:27017/testmongodb://用户名:密码@ip:端口/连接的默认数据库 阅读全文
摘要:
String.prototype.format = String.prototype.f = function () { var s = this, i = arguments.length; while (i--) { s = s.replace(new R... 阅读全文
摘要:
function printdiv(printpage) { var headstr = ""; var footstr = ""; var newstr = document.all.item(printpage).innerHTML; var oldstr = docum... 阅读全文