Quote:
Originally Posted by chaley
Just FYI:
Starting in calibre 4.23 you can write:
Code:
program:
format_number(add(floor(divide(booksize(), 1024)), 1), 'n')
The 'floor()' function was added in that release.
Starting in the next calibre release (5.13) you can write:
Code:
program:
format_number(floor(booksize()/1024)+1,'n')
The arithmetic operators will be added in that release.
|
I hate to ask, but how do I turn this into a column? I never understood programing in Calibre. I was never able to use the program/coding function.