int

문제 신고 소스 보기

Starlark의 정수 유형입니다. Starlark 정수는 크기 범위일 수 있습니다. 연산이 정확합니다. 정수 표현식의 예:
153
0x2A  # hexadecimal literal
0o54  # octal literal
23 * 2 + 5
100 / -7
100 % -7  # -5 (unlike in some other languages)
int("18")