12-23-2014, 09:02 AM | #1 |
Junior Member
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 |
12-23-2014, 09:13 AM | #2 |
Grand Sorcerer
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}') Code:
program: format_number(divide(booksize(), 1024), '{0:,.0f}') |
Advert | |
|
12-23-2014, 12:30 PM | #3 |
Junior Member
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. |
Tags |
booksize, custom column, size |
Thread Tools | Search this Thread |
|
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 |