Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-28-2016, 10:22 AM   #16
readin
Enthusiast
readin is on a distinguished road
 
Posts: 25
Karma: 50
Join Date: Apr 2016
Device: calibre
@BetterRed:

How did you implement your solution to display cells as blank when zero? Does it work for floating point number columns, e.g. formatted using {0:.1f} to display 1 decimal place?

Thx :)
readin is offline   Reply With Quote
Old 04-28-2016, 04:48 PM   #17
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by readin View Post
@BetterRed:

How did you implement your solution to display cells as blank when zero? Does it work for floating point number columns, e.g. formatted using {0:.1f} to display 1 decimal place?

Thx
@readin - chaley added some easy-to-use 'keyboard special values' for numeric and date columns, I know they work when entering data directly into the book list, unsure if they work in Single & Bulk Metadata Edit, but I'd be surprised if they didn't.

A space in an integer or float will set the value to 'Undefined'
An '=' in a date will set it to current data and time, and a '-' will set it to 'Undefined'

'Undefined' always displays as blank.

BR
BetterRed is offline   Reply With Quote
Advert
Old 04-28-2016, 05:03 PM   #18
readin
Enthusiast
readin is on a distinguished road
 
Posts: 25
Karma: 50
Join Date: Apr 2016
Device: calibre
Quote:
Originally Posted by BetterRed View Post

A space in an integer or float will set the value to 'Undefined'
An '=' in a date will set it to current data and time, and a '-' will set it to 'Undefined'

'Undefined' always displays as blank.
Perfect!

Thanks BetterRed and chaley
readin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Remove value accidentally added to custom integer column macnab69 Library Management 11 07-07-2013 07:58 AM
Method to set Date from user integer column macnab69 Library Management 9 07-07-2013 07:52 AM
Rounding to nearest integer in Custom Column - Hijri Year oelgamal Calibre 2 03-28-2013 07:12 PM
Rounding to nearest integer in Custom Column - Hijri Year oelgamal Recipes 0 03-28-2013 02:58 AM
PDF Format Blank Page Wordsworth Calibre 0 08-07-2011 05:49 PM


All times are GMT -4. The time now is 12:55 PM.


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