This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes The In function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "The In function" Watch "The In function" New topic

The In function

Shamsudeen Akanbi
Ranch Hand

Joined: Dec 24, 2010
Posts: 74
Hi guys, i've been trying out to get a function that does the In(x) pronounced "leen" x please help out with a correct one. Thanks in advance.
Tim Moores

Joined: Sep 21, 2011
Posts: 2409
What do you have so far? If you haven't started, what ideas have you had? (And keep in mind that it may not be clear to everybody what "leen" is - natural logarithm? But that's generally written as "ln", not "In".)
Matthew Brown

Joined: Apr 06, 2010
Posts: 4537

You're trying to write one? Or you're trying to find one? Check out java.lang.Math - there's a function there that does it.
I agree. Here's the link:
subject: The In function
It's not a secret anymore!