# 일반 숫자 함수

일반 숫자 함수에서 인수는 x를 실수로 해석해야 하는 표현식입니다. 로드 스크립트와 차트 표현식 모두에서 모든 함수를 사용할 수 있습니다.

각 함수에 대한 간단한 설명과 구문을 보려면 각 함수에서 드롭다운을 사용하십시오. 자세한 내용은 구문 설명에서 해당 함수 이름을 클릭하십시오.

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### bitcount

BitCount()는 숫자와 동등한 2진수에서 1로 설정된 비트의 수를 찾습니다. 즉, 이 함수는 integer\_number에 설정된 비트 수를 반환합니다. 여기서 integer\_number는 부호 있는 32비트 정수로 해석됩니다.

[**bitcount**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/bitcount.htm)(integer\_number)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### div

Div()는 첫 번째 인수를 두 번째 인수로 나눈 정수 부분을 반환합니다. 두 파라메타는 모두 실수로 해석되므로 정수일 필요가 없습니다.

[**div**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/div.htm)(integer\_number1, integer\_number2)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### fabs

Fabs()는 x의 절대값을 반환합니다. 결과는 양수입니다.

[**fabs**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/fabs.htm)(x)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### fact

Fact()는 양의 정수 x의 계승을 반환합니다.

[**fact**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/fact.htm)(x)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### frac

Frac()은 x의 소수점 오른쪽에 대한 분위수를 반환합니다. 여기서 x는 실수입니다.

[**frac**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/frac.htm)(x)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### sign

Sign()은 x가 양수, 0 또는 음수인지에 따라 1, 0 또는 -1을 반환합니다.

[**sign**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/sign.htm)(x)

## 조합 및 치환 함수

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### combin

Combin()은 p 항목 집합에서 선택할 수 있는 q 요소의 조합 수를 반환합니다. 공식은 다음과 같습니다. `Combin(p,q) = p! / q!(p-q)!` 항목이 선택되는 순서는 중요하지 않습니다.

[**combin**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/combin.htm)(p, q)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### permut

Permut()는 p 항목 집합에서 선택할 수 있는 q 요소의 순열 수를 반환합니다. 공식은 다음과 같습니다. `Permut(p,q) = (p)! / (p - q)!` 항목이 선택되는 순서가 중요합니다.

[**permut**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/permut.htm)(p, q)

## Modulo 함수

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### fmod

fmod()는 첫 번째 인수(피제수)를 두 번째 인수(제수)로 나눈 나머지 부분을 반환하는 modulo 함수입니다. 결과는 실수입니다. 두 인수는 모두 실수로 해석되므로 정수일 필요가 없습니다.

[**fmod**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/fmod.htm)(a, b)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### mod

Mod()는 정수 나눗셈의 0이 아닌 나머지를 반환하는 modulo 함수입니다. 첫 번째 인수는 피제수이고 두 번째 인수는 제수입니다. 또한 두 인수는 모두 정수 값이어야 합니다.

[**mod**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/mod.htm)(integer\_number1, integer\_number2)

## 패리티 함수

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### even

Even()은 integer\_number가 짝수 정수 또는 0일 경우 True(-1)를 반환합니다. integer\_number가 홀수 정수일 경우 False(0)를 반환하고, integer\_number가 정수가 아닐 경우 NULL을 반환합니다.

[**even**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/even.htm)(integer\_number)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### odd

Odd()는 integer\_number가 홀수 정수 또는 0일 경우 True(-1)를 반환합니다. integer\_number가 짝수 정수일 경우 False(0)를 반환하고, integer\_number가 정수가 아닐 경우 NULL을 반환합니다.

[**odd**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/odd.htm)(integer\_number)

## 절사 함수

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### ceil

Ceil()은 x를 가장 가까운 step의 배수[+ offset]로 반올림합니다. offset의 기본값은 0입니다.

[**ceil**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/ceil.htm)(x[, step[, offset]])

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### floor

Floor()는 x를 가장 가까운 step의 배수[+ offset]로 반내림합니다. offset의 기본값은 0입니다.

[**floor**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/floor.htm)(x[, step[, offset]])

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### round

Round()는 x를 가장 가까운 step [+ offset]의 배수로 반올림 또는 반내림한 결과를 반환합니다. offset의 기본값은 0입니다.

[**round**](https://help.qlik.com/ko-KR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/round.htm)( x [ , step [ , offset ]])