To determine how many people preferred hamburgers based on the information provided that 540 people preferred pizza, we would need more context or data on the ratio or total number of people surveyed.
Since that information isn't provided, we cannot definitively calculate how many people preferred hamburgers.
If you have additional context or information, please provide it so I can assist you further!