Best Answer

FoxPro doesn't have any special factorial function, so you would have to write your own factorial function. It's fairly easy, for example:

function factorial

lparameters n

result = 1

for i = 1 to n

result = result * n

next

return result

If you have an older version of FoxPro, you may need to replace "lparameters" by "parameters".

Or even simpler, with recursion:

function factorial

lparameters n

return iif(n<=1, n, n*factorial(n-1))

Q: How do you find factorial in fox pro?

Write your answer...

Submit

Still have questions?

Continue Learning about Math & Arithmetic

Kat

to find factorials you just multiply the factorial like this. for example 6! you would do 6x5x4x3x2. a little trick of mine is to multiply the previous factorial's answer by the factorial you are trying to make's number like this 6!=5! 5!=5x4x3x2 i hope this was helpful' Dayna,a 10 year old girl

factorial of -1

i need a pic of cuson

Factorial 6 = 720

Related questions

Pseudo code+factorial

reverse programe in fox pro

Kat

tubol

If you have N things and want to find the number of combinations of R things at a time then the formula is [(Factorial N)] / [(Factorial R) x (Factorial {N-R})]

this is a code for calculating it recursivelly: float Factorial (float n) { if (n<=1) return 1.0; else return n* Factorial(n-1); }

factorial

oracle, fox pro,ms access ,mysql and sql servers

Visual Fox Pro is a database language for Windows. It originated from FoxPro which was a competitor to dBase. See also the related link below.

The value of 9 factorial plus 6 factorial is 363,600

to find factorials you just multiply the factorial like this. for example 6! you would do 6x5x4x3x2. a little trick of mine is to multiply the previous factorial's answer by the factorial you are trying to make's number like this 6!=5! 5!=5x4x3x2 i hope this was helpful' Dayna,a 10 year old girl

It is 4060.