Update main.ts

This commit is contained in:
ReaderGuy42 2022-03-14 10:49:33 +01:00 committed by GitHub
parent 5cf3da943f
commit e6ed27de5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ export default class NovelWordCountPlugin extends Plugin {
case CountType.Word:
return `${counts.wordCount.toLocaleString()} words`;
case CountType.Page:
return `${counts.pageCount.toLocaleString()} pages`;
return `${counts.pageCount.toFixed(1)} pages`;
}
}