to **do** in that sense means: *to be sufficient or to be enough*

Sample: Why use five words when one word is sufficient or enough?

For example: 

We're going out for dinner. **Will 40 dollars do** or shall I bring more?