Math In Function

J

James Jenkins

Hi,
I am looking for the 'In' Function in C# to work out an equation - I
have an 'In' option on my calculator and I am struggling to find out what it
is and what it does? - Can anyone point me into the right direction -

TIA.
James
http://www.software-dungeon.co.uk
 
B

Ben Voigt [C++ MVP]

James Jenkins said:
Hi,
I am looking for the 'In' Function in C# to work out an equation - I
have an 'In' option on my calculator and I am struggling to find out what
it is and what it does? - Can anyone point me into the right direction -

I suspect you are talking about "ln", not "In", which is log-to-the-base-e,
also called "natural logarithm", hence the n and the l, although not in that
order. I think that Math.Log should be equivalent, while Math.Log10 will
correspond to your calculator's "log" button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top