Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-23-2014, 09:02 AM   #1
Reader4106
Junior Member
Reader4106 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2014
Device: Pocketbook
How to show booksize in MB (3 digits) or KB (no gigits)

I've tried by myself for hours and was searching the internet and this forum some hours more but did not get a clue.

- How can I change the column for size to show in MB with three digits?

or
- How to make a custom column to show the size in KB with no digits?

Thanks for help
Reader4106 is offline   Reply With Quote
Old 12-23-2014, 09:13 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,704
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
You can do it with a custom column made from other columns. The template could be:
Code:
program: format_number(divide(booksize(), 1024), '{0:.0f}')
or if you want commas
Code:
program: format_number(divide(booksize(), 1024), '{0:,.0f}')
Change the 1024 to 1000 if you want "decimal" KB
chaley is offline   Reply With Quote
Advert
Old 12-23-2014, 12:30 PM   #3
Reader4106
Junior Member
Reader4106 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2014
Device: Pocketbook
Wohw!!
Merci beaucoup Chaley. That was quick.

And…
After your help I was able to format in different ways.
Reader4106 is offline   Reply With Quote
Reply

Tags
booksize, custom column, size

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
series index doesn't get all digits Thorsten90 Library Management 0 07-21-2013 12:52 AM
How to take away digits from a lot of titles arnoderuig Library Management 1 01-08-2012 08:33 AM
Leading digits in file names okay? sgirsberger ePub 2 09-25-2011 09:19 AM
Chapter detection when only digits - regex needed Perkin Calibre 15 09-20-2010 06:25 PM
Can you memorize 1,000 digits in under an hour? TadW Lounge 0 03-20-2005 09:03 PM


All times are GMT -4. The time now is 03:46 AM.


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