memo.xight.org

01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

2006-03-13 Mon

JavaScript で数値を3桁区切り

function toReadableNumber(str){
	var ret = Math.floor(str).toString();
	ret = ret.match(/./g).reverse().join("");
	ret = ret.replace(/(\d{3})/g,"$1,");
	ret = ret.match(/./g).reverse().join("").replace(/^,/,"");
	return ret;
}


- Reference
きんがくとかをけたくぎり
http://page.freett.com/elledia/tips/comma.html

カテゴリ: [JavaScript]

Internet Explorer Developer Toolbar - Internet Explorer に DOMインスペクタなどを付加するツールバー

- Summary
Internet Explorer に DOMインスペクタ,ルーラーなどを付加することができる.

- Reference
Internet Explorer Developer Toolbar Beta
http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038

カテゴリ: [Internet Explorer]

Flow - 幻想的なゲーム

- Reference
Welcome to Flow in Games
http://intihuatani.usc.edu/cloud/flowing/

カテゴリ: [Game]

シンプソン(Simpson)係数 - 関係の強さを測定する指標

- 式


( X and Y ) での検索結果数を, X と Y の検索結果のヒット数で少ないほうで割る.

- Reference
先端研ブログ - 2006-03-08 - リアルとWebのネットワーク分析
http://blog.japan.cnet.com/sentan/archives/002672.html

カテゴリ: [Memo]
2006-03 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-02-20 21:23
Copyright © 2005 xight.org All Rights Reserved.