inchToCentimeter method

double inchToCentimeter(
  1. double inches
)

Implementation

double inchToCentimeter(double inches) {
  return inches * 2.54;
}