Reference · The Sun, Moon and planets: pure parts
AU_IN_EARTH_RADIIconstant
Earth radii in one astronomical unit.
Import it
import { AU_IN_EARTH_RADII } from "@johnmorrisdotca/chikyu-earth/space";
Definition
const AU_IN_EARTH_RADII: number = AU_KM / EARTH_RADIUS_KM
Examples
import { AU_IN_EARTH_RADII } from "@johnmorrisdotca/chikyu-earth/space";
console.log(Math.round(AU_IN_EARTH_RADII));23481What it prints (run when this page was built)