In 1940, as the Second World War spread across Europe and Asia, world population stood at about 2.3 billion.