latitudeBandfunction
A band of ten degrees of latitude as words: 40° to 50° N or きた 40〜50ど.
Import it
import { latitudeBand } from "@johnmorrisdotca/hoshi-stars/sheets";
Definition
function latitudeBand(latitude: number, lang?: Lang): string
Parameters
| Name | Type | Description |
|---|---|---|
latitude | number | Degrees north (negative south). |
lang (optional) | Lang |
|
Returns
string
The band the latitude lies in.
Examples
import { latitudeBand } from "@johnmorrisdotca/hoshi-stars/sheets";
console.log(latitudeBand(43.7, "en"), latitudeBand(-33.9, "ja"));40° to 50° N みなみ 30〜40どWhat it prints (run when this page was built)