When the cost of capital is 3 percent the project is not worthwhile

What is the correctly punctuated version of this sentence?
When the cost of capital is 3 percent the project is not worthwhile.