Quote:
Originally Posted by ownedbycats
For a formula for various book statistics: is there a function similar to round, but rounding to a certain number of decimal points instead of a whole number?
EDIT: format_number works. New question: How do I add a line break? This returns as one long line.
Code:
program:
strcat(
'Chapter Count:', $#chaptercount,
'Page Count:', $#pagecount,
'Average Pages per Chapter:', format_number((divide($#pagecount, $#chaptercount)), '{0:5.2f}')
)
|
Use the character() function, specifically character('newline')