inchToCm static method

double inchToCm(
  1. double inches
)

Implementation

static double inchToCm(double inches) {
  return inches * 2.54;
}