View Single Post
Old 05-13-2022, 05:54 AM   #472
CyberPaul
Groupie
CyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheese
 
CyberPaul's Avatar
 
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
Quote:
Originally Posted by Svens View Post
Great! Thanks, it works!
I improved the formulas. With below I got pretty much same estimate shown on kobo store.
Code:
program:floor($$#words / 12000)
program:ceiling($$#words / 11150)
Simpler and more elegant
With this approach lower and higher estimates start to diverge when the books are big, and this is ok. Same is happening on kobo store. Having always higher = lower + 1 does not make sense when number of words is significant and uncertainty on estimate is increased.
I also materialized these two attributes as custom columns so I don't need to transfer them onto the kobo device to see the estimates produced
CyberPaul is offline   Reply With Quote