'변환'에 해당되는 글 4건
- 2011/09/06 Fahrenheit to Celsius (℉ -> ℃)
- 2007/12/18 C#에서 Hex 값을 Int로 또는 그 반대로
- 2007/08/02 XSLT 변환 출력 프로그램
- 2007/07/04 문자열을 유니코드로 escape 하는 javascript
화씨(℉) 온도에서 섭씨(℃) 온도로 변환 공식
Tc = (5/9)*(Tf-32);
Tc(℃) = temperature in degrees Celsius, Tf(℉) = temperature in degrees Fahrenheit
반대로, 섭씨(℃) 온도에서 화씨(℉) 온도로 변환 공식
Tf = (9/5)*Tc+32;
Tc(℃) = temperature in degrees Celsius, Tf(℉) = temperature in degrees Fahrenheit
Reference.
http://www.csgnetwork.com/tempconvjava.html (설명)
http://www.wbuf.noaa.gov/tempfc.htm (계산기)
'My Life > Like it' 카테고리의 다른 글
| 위기와 기회 (0) | 2012/01/31 |
|---|---|
| Fahrenheit to Celsius (℉ -> ℃) (0) | 2011/09/06 |
| ...? (0) | 2011/08/04 |
| 피부에 좋지 않은 습관 (2) | 2011/03/14 |
| Youre never too old to learn (0) | 2010/12/07 |
| 사랑스러운 여의도 - 거리 무료 이벤트의 천국 (1) | 2010/05/28 |
// Store integer 182
int decValue = 182;
// Convert integer 182 as a hex in a string variable
string hexValue = decValue.ToString("X");
// Convert the hex string back to the number
int decAgain = int.Parse(hexValue, System.Globalization.NumberStyles.HexNumber);
ToString()에서 X 키워드를 넣으면 Hex값으로 변환이 되죠.
그 반대로 Hex문자열을 int로 변환하려면 위와 같은 작업을 해줘야 하는군요..
혹시 기억 안나실땐 위 코드를..
'.NET > C#' 카테고리의 다른 글
| 파일 사이즈 변환 (0) | 2008/04/02 |
|---|---|
| C# XML Document 생성 애드인(Add-in) (1) | 2007/12/19 |
| C#에서 Hex 값을 Int로 또는 그 반대로 (0) | 2007/12/18 |
| WPF 3D 온라인 강좌 (0) | 2007/12/04 |
| .NET 통합 언어 쿼리 LINQ (0) | 2007/11/26 |
| COM+ : Recovery thread failed to start 에러 해결방법 (0) | 2007/11/12 |
자세한 예외처리는 구현하지 않았다.
프로그램은 .net framework 2.0이상이 설치되어 있어야 실행할 수 있으며, Visual studio Orcas에서 개발하였다.
'.NET > XML.NET' 카테고리의 다른 글
| RSS 2.0과 MSXML 이용한 RSS 리더 구현 (0) | 2007/08/20 |
|---|---|
| XSLT 변환 출력 프로그램 (0) | 2007/08/02 |
| XML Schema Regular Expressions (0) | 2007/08/01 |
만약에 '사랑해' 라는 문자열을 입력하면 '%uC0AC%uB791%uD574' 라는 유니코드로 escape해주는 자바스크립트이다 ^ ^
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Escape / Unescape</title>
<script type="text/javascript">
<!--//
function enCode()
{
var temp = escape(document.forms[0].inV.value);
document.forms[0].outV.value = temp;
}
function deCode()
{
var temp = unescape(document.forms[0].inV.value);
document.forms[0].outV.value = temp;
}
//-->
</script>
</head>
<body>
<form name="fo" action="">
<input type="text" name="inV" /><br />
<input type="button" value="인코딩" onclick="enCode()" />
<input type="button" value="디코딩" onclick="deCode()" /><br />
<input type="text" value="" name="outV" />
</form>
</body>
</html>
'Web > JavaScript' 카테고리의 다른 글
| 다이아몬드형 문자열 출력 자바스크립트 (0) | 2007/07/09 |
|---|---|
| 상태표시줄에 날자 시간 출력 자바스크립트 (0) | 2007/07/08 |
| 문자열을 유니코드로 escape 하는 javascript (0) | 2007/07/04 |
| 짝수만 출력 (0) | 2007/07/03 |
| 간단한 4칙연산 (0) | 2007/07/03 |
| 간만에 자바스크립트 99단 소스 (0) | 2007/07/03 |
Trackback : http://i-ruru.com/trackback/92
-
Subject JIXmall :: javascript encode
2009/11/23 20:38
JIXmall :: javascript encode에 대한 정보입니다.

XsltProject.exe
XsltProject.zip
Prev




