2 years ago
#52807
André Levasseur
C#: Natural Log needed with decimal values for financial purpose
Is there a way to compute a natural log using decimal values in C#? I need something like
decimal dec = Math.Log(decimalInput);`
The problem is that Math.Log(x)
only works with a double type as input and another double as output.
c#
precision
finance
natural-logarithm
0 Answers
Your Answer