-
To many characters!!!!
I am writing a program to calculate the factorial of 365 (365!) and the number generated is to long to print while keeping all the digits!
I need some help to finish this. I was trying to write something similar to a clock loop but failed.
Thanks :confused:
-
would this help?
Function Factorial_as_Log(X As Double) As Double
'
' Non-recursive factorial, returning f as f=f+log(f)
'
Dim i As Integer, f As Double
f = 0#
For i = 2 To X
f = f + Log(i)
Next i
Factorial_as_Log = f
End Function
-
How do i use this code...i am a student learning how to program right now so i dont really know what i am doing
:D