FACTORIAL

Returns the factorial logarithm of x. If x is less than or equal to 0, the function returns 0.

Analyze Syntax

func.factorial( <x> )

Analyze Examples

func.factorial(5)

┌───────────────────┐
 func.factorial(5) 
├───────────────────┤
               120 
└───────────────────┘

SQL Syntax

FACTORIAL( <x> )

SQL Examples

SELECT FACTORIAL(5);

┌──────────────┐
 factorial(5) 
├──────────────┤
          120 
└──────────────┘
Last modified April 23, 2024 at 12:42 PM EST: updating numerical functions (2a94341)