mileToLightYear method

double mileToLightYear(
  1. double miles
)

Implementation

double mileToLightYear(double miles) {
  return miles / 5.879e12;
}