I am making a formula that displays some statistics:
Code:
program:
strcat(
$author, ' - ', $title, character('newline'),
'Chapter Count: ', $$#chaptercount, character('newline'),
'Page Count: ', $$#pagecount,character('newline'),
'Average Pages per Chapter: ', format_number((divide($$#pagecount, $$#chaptercount)), '{0:5.2f}')
);
If I run it on multiple books, it only displays information for one. How should I change the template to display information for each selected book?