# Algemene numerieke functies

In deze algemene numerieke functies zijn de argumenten uitdrukkingen waarbij x moet worden geïnterpreteerd als een reëel getal. Alle functies kunnen zowel worden gebruikt in scripts voor het laden van gegevens als in diagramuitdrukkingen.

Gebruik de vervolgkeuzelijst bij elke functie om een korte beschrijving en de syntaxis van de functie te bekijken. Klik op de functienaam in de beschrijving van de syntaxis voor meer informatie.

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

#### bitcount

BitCount() retourneert hoeveel bits in het binaire equivalent van een getal zijn ingesteld op 1. De functie retourneert dus het aantal setbits in integer\_number, waarbij integer\_number wordt geïnterpreteerd als een ondertekend 32-bits geheel getal.

[**bitcount**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/bitcount.htm)(integer\_number)

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

#### div

Div() retourneert het gehele deel van de rekenkundige deling van het eerste argument door het tweede argument. Beide parameters worden geïnterpreteerd als reële getallen. Ze hoeven dus geen gehele getallen te zijn.

[**div**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/div.htm)(integer\_number1, integer\_number2)

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

#### fabs

Fabs() retourneert de absolute waarde van x. Het resultaat is een positief getal.

[**fabs**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/fabs.htm)(x)

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

####

Fact() retourneert de faculteit van een positief geheel getal x.

[**fact**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/fact.htm)(x)

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

#### frac

Frac() retourneert het breukgedeelte van x.

[**frac**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/frac.htm)(x)

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

#### sign

Sign() retourneert 1, 0 of -1, afhankelijk van het feit of x een positief getal, 0 of een negatief getal is.

[**sign**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/sign.htm)(x)

## Combinatie- en permutatiefuncties

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

#### combin

Combin() retourneert het aantal combinaties van q elementen dat kan worden gekozen uit een groep van p elementen. Zoals weergegeven door de formule: `Combin(p,q) = p! / q!(p-q)!` De volgorde waarin de items worden geselecteerd is niet van belang.

[**combin**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/combin.htm)(p, q)

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

#### permut

Permut() retourneert het aantal permutaties van q elementen dat kan worden geselecteerd uit een groep van p elementen. Zoals weergegeven door de formule: `Permut(p,q) = (p)! / (p - q)!` De volgorde waarin de items worden geselecteerd is van belang.

[**permut**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/permut.htm)(p, q)

## Modulofuncties

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

#### fmod

fmod() is een gegeneraliseerde modulo-functie die het gehele deel van de rekenkundige deling van het eerste argument (het deeltal) op het tweede argument (de deler) retourneert. Het resultaat is een reëel getal. Beide argumenten worden geïnterpreteerd als reële getallen. Ze hoeven dus geen gehele getallen te zijn.

[**fmod**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/fmod.htm)(a, b)

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

#### mod

Mod() is een wiskundige modulo-functie die de niet-negatieve restwaarde van een deling van gehele getallen retourneert. Het eerste argument is het deeltal en het tweede argument de deler. Beide argumenten moeten gehele getallen zijn.

[**mod**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/mod.htm)(integer\_number1, integer\_number2)

## Pariteitsfuncties

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

#### even

Even() retourneert True (-1), als integer\_number een even geheel getal of nul is. Retourneert False (0), als integer\_number een oneven geheel getal is en NULL als integer\_number niet een geheel getal is.

[**even**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/even.htm)(integer\_number)

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

#### odd

Odd() retourneert True (-1), als integer\_number een oneven geheel getal of nul is. Retourneert False (0), als integer\_number een even geheel getal is en NULL als integer\_number niet een geheel getal is.

[**odd**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/odd.htm)(integer\_number)

## Afrondingsfuncties

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

#### ceil

Ceil() rondt een getal naar boven af op het dichtstbijzijnde veelvoud van de step die is verschoven met het offset -getal.

[**ceil**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/ceil.htm)(x[, step[, offset]])

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

#### floor

Floor() rondt een getal naar beneden af op het dichtstbijzijnde veelvoud van de step die is verschoven met het offset -getal.

[**floor**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/floor.htm)(x[, step[, offset]])

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

#### round

Round() retourneert het resultaat van de afronding omhoog of omlaag naar het dichtstbijzijnde veelvoud van de step die is verschoven met het offset -getal.

[**round**](https://help.qlik.com/nl-NL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GeneralNumericFunctions/round.htm)( x [ , stap [ , offset ]])