|
|
#1 |
|
Member
![]() Posts: 10
Karma: 10
Join Date: Aug 2016
Device: Samsung S6 Phone
|
Need help in Custom Columns, template syntax, and rounding numbers
I have no clue if Calibre supports this.
I'm creating a custom column ("built from other columns") that takes the Like and Dislike numbers of two other custom columns in a library to make it into a ratio of 100% for how good said book is. I have the formula for it that consistently puts out a 0% to 100% ratio. Code:
Likes / ( Likes + Dislikes ) X 100 = Ratio Last edited by dennocoil; 07-10-2017 at 05:26 PM. |
|
|
|
![]() |
| Tags |
| custom columns, math, syntax, templates |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| syntax for removing numbers between lines please | leftright | Sigil | 6 | 09-08-2016 05:59 AM |
| Request: template-making assistance for column built from other columns | iienderii | Library Management | 9 | 04-04-2016 11:27 PM |
| Syntax for custom lists in programs | ivanm | Library Management | 2 | 01-04-2015 05:30 PM |
| Rounding to nearest integer in Custom Column - Hijri Year | oelgamal | Calibre | 2 | 03-28-2013 08:12 PM |
| Rounding to nearest integer in Custom Column - Hijri Year | oelgamal | Recipes | 0 | 03-28-2013 03:58 AM |