|
|
#1 |
|
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
|
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 |
|
|
|
|
|
#2 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
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}')
|
|
|
|
|
|
#3 |
|
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
|
Wohw!!
Merci beaucoup Chaley. That was quick. And… After your help I was able to format in different ways. |
|
|
|
![]() |
| Tags |
| booksize, custom column, size |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| series index doesn't get all digits | Thorsten90 | Library Management | 0 | 07-21-2013 01:52 AM |
| How to take away digits from a lot of titles | arnoderuig | Library Management | 1 | 01-08-2012 09:33 AM |
| Leading digits in file names okay? | sgirsberger | ePub | 2 | 09-25-2011 10:19 AM |
| Chapter detection when only digits - regex needed | Perkin | Calibre | 15 | 09-20-2010 07:25 PM |
| Can you memorize 1,000 digits in under an hour? | TadW | Lounge | 0 | 03-20-2005 10:03 PM |