Board Thread:Support Requests - Getting Technical/@comment-26402117-20160511105510

I want to use the #expr tag to calculate a volume number based on the inputted chapter number (this will be used in references).

The series I want to do this for has eight chapters in the first volume and ten in all the others. 

What is the expression required? 