![]() |
#1 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
How many hours for a book
I have a plugin which shows how many words are in a book. Taking in consideration average reading speed is it possible to have a column with predicted hours per book value?
The math is like: (number of words)/(average words per hour) I know my reading speed, calibre doesn't have to calculate it! I just need it to make one simple calculation I tried making a column based on another column: {#words}/11160 but it didn't work Last edited by Sarmat; 12-10-2018 at 10:11 AM. |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,176
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie EDIT https://manual.calibre-ebook.com/template_lang.html Last edited by gbm; 12-10-2018 at 10:40 AM. Reason: Add link for template help page. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
I have experimented dozen times with divide(x, y) in different formats and styles
but i failed ![]() examples: {divide(10, 2)} divide(10, 2) |
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
|
Just do it yourself since you know how many words per book.
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
I am too lazy for this
and besides I have a lot of books ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,176
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie |
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The following template should work:
Code:
program: format_number(divide(raw_field('#word_count'),11160),'{0:5.2f}') |
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
|
![]() |
![]() |
![]() |
#9 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,194
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
All us computer users are lazy and dedicated to the principal that simple, repetitive tasks should be done by computers freeing us for the important decisions such as which book to read next.
![]() |
![]() |
![]() |
![]() |
#10 | |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Nov 2018
Device: Kindle Paperwhite 2
|
Quote:
12 is bigger than 3 or that 23 is bigger than 4? for now Calibre considers only first character in the number when sorting can I have it sort everything right? |
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
In the definition of the column, there is an option to set the type for searching and sorting. Setting that to "Number" works here.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Longest audio book? Seveneves is 96 hours long! | moyogi2 | Audiobook Discussions | 22 | 05-21-2017 05:27 AM |
Getting book list takes hours | brightjh01 | Devices | 7 | 12-22-2012 05:31 PM |
Kobo Cyber Monday e-book sale 24 hours only!! | apesmom | Deals and Resources (No Self-Promotion or Affiliate Links) | 26 | 11-26-2012 11:06 PM |
Too many hours for a book | armjorge | Calibre | 1 | 07-11-2010 10:23 AM |