# 일반 숫자 함수

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

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

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### bitcount

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

[**bitcount**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/bitcount.htm)(integer\_number)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### div

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

[**div**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/div.htm)(integer\_number1, integer\_number2)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### fabs

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

[**fabs**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/fabs.htm)(x)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### fact

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

[**fact**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/fact.htm)(x)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### frac

Frac()는 x의 분위수 부분을 반환합니다.

[**frac**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/frac.htm)(x)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### sign

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

[**sign**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/sign.htm)(x)

## 조합 및 치환 함수

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/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/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/combin.htm)(p, q)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### permut

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

[**permut**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/permut.htm)(p, q)

## Modulo 함수

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### fmod

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

[**fmod**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/fmod.htm)(a, b)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### mod

Mod()는 정수 나누기의 음수가 아닌 나머지를 반환하는 수학적 모듈 함수입니다. 첫 번째 인수는 피제수이고 두 번째 인수는 제수이며, 두 인수는 모두 정수 값이어야 합니다.

[**mod**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/mod.htm)(integer\_number1, integer\_number2)

## 패리티 함수

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/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/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/even.htm)(integer\_number)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/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/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/odd.htm)(integer\_number)

## 절사 함수

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### ceil

Ceil()은 offset 숫자에 의해 시프트된 step의 가장 가까운 배수로 숫자를 올림합니다.

[**ceil**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/ceil.htm)(x[, step[, offset]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### floor

Floor()는 offset 숫자에 의해 시프트된 step의 가장 가까운 배수로 숫자를 내림합니다.

[**floor**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/floor.htm)(x[, step[, offset]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/general-numeric-functions-charts.htm)

#### round

Round()는 offset 숫자에 의해 시프트된 step의 가장 가까운 배수로 숫자를 올림 또는 내림한 결과를 반환합니다.

[**round**](https://help.qlik.com/ko-KR/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/round.htm)( x [ , step [ , offset ]])