cityPopulationFloor関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The smallest city named in a window that shows kilometres of ground across: five million people on the whole
world, falling with the ground shown, to 15,000 when a window shows 400 km.
インポート
import { cityPopulationFloor } from "@johnmorrisdotca/chizu";
定義
function cityPopulationFloor(kilometres: number): number
引数
| 名前 | 型 | 説明 |
|---|---|---|
kilometres | number | The ground the window shows across, in kilometres. |
戻り値
number
The smallest population named.
例
import { cityPopulationFloor } from "@johnmorrisdotca/chizu";
console.log(cityPopulationFloor(400));
// 1500015000出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。