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.
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.