kilometerToLightYear method

double kilometerToLightYear(
  1. double kilometers
)

Implementation

double kilometerToLightYear(double kilometers) {
  return kilometers / 9.461e12;
}