2:39 am - Friday April 19, 2019

Math Example Program for log10(double a)

CANDID INDUSTRIAL TRAINING -- CHENNAI
Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044
//Example Program to find log10(double a) value
/**
 * @author:Candidjava.com
 * @description:used for to Returns the base 10 logarithm of a double value
 */
public class Log10 {
	public static void main(String[] args) {
		double i = 4.20d;// Get common logarithm value.
		double log = Math.log10(i);
		// this math function returns the common logarithm of a double value.
		System.out.println("the common logaraithm value is:" + log);
	}
}

Output:
the common logaraithm value is:0.6232492903979004

Filed in: Z-A All Java Codes

Comments are closed.