Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-07-2022, 10:17 PM   #1
Fynjisx
Connoisseur
Fynjisx began at the beginning.
 
Posts: 90
Karma: 10
Join Date: Jul 2022
Location: Greenland
Device: xiaomi
how to perform mathematical calculations based on the value in one column and display

There are two columns. One file size, the other with a numeric number of pages. If the file size is not 0, output any number to the custom column. How it's done? Need to write a template? Where to write? I am newbie.

how to perform mathematical calculations based on the value in one column and display the results in another?
Fynjisx is offline   Reply With Quote
Old 08-08-2022, 02:03 PM   #2
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 927
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by Fynjisx View Post
There are two columns. One file size, the other with a numeric number of pages. If the file size is not 0, output any number to the custom column. How it's done? Need to write a template? Where to write? I am newbie.

how to perform mathematical calculations based on the value in one column and display the results in another?
You need to create a new Custom Column (type: Column built from other columns). On this new column, you need a template to make the calculation.
thiago.eec is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Column based on Merged Tanjamuse Library Management 0 06-29-2019 01:37 PM
column based fields aquiaolado Calibre 2 04-11-2018 05:14 AM
Make calculations using column data Katsunami Calibre 1 11-12-2013 09:33 PM
Need help with programming a column based on previous data in the same column seaquay Library Management 2 06-13-2012 12:19 PM
Column coloring based on the languae Joanna Library Management 2 02-19-2012 07:26 AM


All times are GMT -4. The time now is 11:34 AM.


MobileRead.com is a privately owned, operated and funded community.