Reference · Framing, geometry and quiz tools
cityPopulationFloorfunction
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 it
import { cityPopulationFloor } from "@johnmorrisdotca/chizu";
Definition
function cityPopulationFloor(kilometres: number): number
Parameters
| Name | Type | Description |
|---|---|---|
kilometres | number | The ground the window shows across, in kilometres. |
Returns
number
The smallest population named.
Examples
import { cityPopulationFloor } from "@johnmorrisdotca/chizu";
console.log(cityPopulationFloor(400));
// 1500015000What it prints (run when this page was built)