'변환'에 해당되는 글 4건

  1. 2011/09/06 Fahrenheit to Celsius (℉ -> ℃)
  2. 2007/12/18 C#에서 Hex 값을 Int로 또는 그 반대로
  3. 2007/08/02 XSLT 변환 출력 프로그램
  4. 2007/07/04 문자열을 유니코드로 escape 하는 javascript
2011/09/06 16:08

Fahrenheit to Celsius (℉ -> ℃)



화씨(℉) 온도에서 섭씨(℃) 온도로 변환 공식


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 (계산기)
저작자 표시 비영리 변경 금지
크리에이티브 커먼즈 라이선스
Creative Commons License

'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
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/720 관련글 쓰기

2007/12/18 15:44

C#에서 Hex 값을 Int로 또는 그 반대로

// 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 변환하려면 위와 같은 작업을 해줘야 하는군요..


혹시 기억 안나실땐 코드를..

크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/240 관련글 쓰기

2007/08/02 17:28

XSLT 변환 출력 프로그램

XML파일과 XSL 파일을 입력 받아서 XSLT 변환을 하는 프로그램이다.

자세한 예외처리는 구현하지  않았다.


프로그램은 .net framework 2.0이상이 설치되어 있어야 실행할 수 있으며, Visual studio Orcas에서 개발하였다.
크리에이티브 커먼즈 라이선스
Creative Commons License

'.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
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/122 관련글 쓰기

2007/07/04 15:56

문자열을 유니코드로 escape 하는 javascript

만약에 '사랑해' 라는 문자열을 입력하면 '%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>

크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 1 Comment 0

Trackback : http://i-ruru.com/trackback/92 관련글 쓰기

  1. Subject JIXmall :: javascript encode

    Tracked from JIXmall.com 2009/11/23 20:38 delete

    JIXmall :: javascript encode에 대한 정보입니다.