Update main.ts
This commit is contained in:
parent
5cf3da943f
commit
e6ed27de5e
2
main.ts
2
main.ts
|
@ -154,7 +154,7 @@ export default class NovelWordCountPlugin extends Plugin {
|
||||||
case CountType.Word:
|
case CountType.Word:
|
||||||
return `${counts.wordCount.toLocaleString()} words`;
|
return `${counts.wordCount.toLocaleString()} words`;
|
||||||
case CountType.Page:
|
case CountType.Page:
|
||||||
return `${counts.pageCount.toLocaleString()} pages`;
|
return `${counts.pageCount.toFixed(1)} pages`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue