Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 08:55 AM   #1
Massreader
Enthusiast
Massreader began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Nov 2011
Device: none
Format-Code for columns with numbers

Hello,

I want to create two individual columns, but I just can't handle the format for numbers.

One column should show numbers with a decimal comma (e.g. 4,5). I would choose floating point as the column type.

The second column should represent integers with a point separating the thousands.

What do I have to enter as the format code in each case to get the desired display?

Many thanks in advance for any help!

Last edited by Massreader; Today at 09:10 AM.
Massreader is offline   Reply With Quote
Old Today, 10:26 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,237
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Right click that columns header: Edit custom column: (see image)

This uses Python formatting rules (link is in the dialog box)
Attached Thumbnails
Click image for larger version

Name:	CC formatting.JPG
Views:	2
Size:	46.5 KB
ID:	210336  
theducks is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto registration of new custom columns from plugin code [question/feature request]] Sud0 Development 4 12-06-2023 02:57 AM
Ordinal numbers in custom columns (1st, 2nd, 3rd etc) Luiztfc Library Management 5 06-16-2023 03:09 PM
Bullet,numbers, indents and alignment greyed out in code view. handycrowd Sigil 4 02-13-2018 03:29 AM
Need help in Custom Columns, template syntax, and rounding numbers dennocoil Calibre 0 07-10-2017 03:24 PM
Strange Code Replaces Numbers Gwaredd Conversion 1 07-23-2013 12:03 PM


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


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