"WIKI:특수 명령문"의 두 판 사이의 차이

이 문서는 2020년 7월 17일 (금) 09:55에 마지막으로 편집되었습니다.
 
(같은 사용자의 중간 판 3개는 보이지 않습니다)
8번째 줄: 8번째 줄:
!  | <!--T:4--> Operators
!  | <!--T:4--> Operators
|-
|-
|  | <!--T:5--> Grouping (parentheses)
|  | <!--T:5--> 괄호로 묶기
| style="word-spacing: 0.5em; font-weight: bold;" | <code>( )</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>( )</code>
|-
|-
|  | <!--T:6--> Numbers
|  | <!--T:6--> 숫자(값)
| <code>'''1234.5'''</code> &nbsp; <code>'''e'''</code>&nbsp;(2.718) &nbsp; <code>'''pi'''</code>&nbsp;(3.142)
| <code>'''1234.5'''</code> &nbsp; <code>'''e'''</code>&nbsp;(2.718) &nbsp; <code>'''pi'''</code>&nbsp;(3.142)
|-
|-
20번째 줄: 20번째 줄:
| style="word-spacing: 0.5em; font-weight: bold;" | <code>not ceil trunc floor abs exp ln sin cos tan acos asin atan</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>not ceil trunc floor abs exp ln sin cos tan acos asin atan</code>
|-
|-
|  rowspan="3" | <!--T:10--> Binary
|  rowspan="3" | <!--T:10--> 계산 문자
| style="word-spacing: 0.5em; font-weight: bold;" | <code>^</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>^</code>
|-
|-
27번째 줄: 27번째 줄:
| style="word-spacing: 0.5em; font-weight: bold;" | <code>+ -</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>+ -</code>
|-
|-
|  | <translate><!--T:11--> Round</translate>
|  | <!--T:11--> 반올림
| style="word-spacing: 0.5em; font-weight: bold;" | <code>round</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>round</code>
|-
|-
|  rowspan="3" | <!--T:12--> Logic
|  rowspan="3" | <!--T:12--> 계산 논리
| style="word-spacing: 0.5em; font-weight: bold;" | <code>= != <> > < >= <=</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>= != <> > < >= <=</code>
|-
|-

2020년 7월 17일 (금) 09:55 기준 최신판

특수 명령문은 다양한 기능을 가지고 있어 복잡하게 동작하는 틀을 만들때 효과적입니다.

#expr[편집]

Type Operators
괄호로 묶기 ( )
숫자(값) 1234.5   e (2.718)   pi (3.142)
binary operator> e   unary +,-
Unary not ceil trunc floor abs exp ln sin cos tan acos asin atan
계산 문자 ^
* / div mod
+ -
반올림 round
계산 논리 = != <> > < >= <=
and
or