![]() |
VOOZH | about |
public static double scalb(double a, int scale)Parameters : This method accepts two parameters they are:
Input: a = 77.23 scale = 3 Output = 617.84Below program illustrates the java.lang.Math.scalb(double a, int scale) method:
Value of Math.scalb(52.12, 8) = 13342.72
public static double scalb(float a, int scale)Parameters : This method accepts two parameters:
Input: a = 32.14f scale = 6 Output = 2056.96Below program illustrates the java.lang.Math.scalb(float a, int scale ) method: Program 1:
Value of Math.scalb(81.27, 8) = 20805.12