Online Java Compiler By
JavaTpoint.com
public class GetExponentExample1 { public static void main(String[] args) { double a = 50.45; // Input double value, Output exponent of it System.out.println(Math.getExponent(a)); } }
Output