|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,566
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Copying between library - datatypes of columns (composite > noncomposite)
In my Kobo Wishlist library, #purchasecost is a composite (to calculate discount + tax on store-listed price), output's always {0:,.2f}: My main library, the same column is floating-point with ${0:,.2f}. Is there a technical reason why that couldn't be copied over, or is it just to prevent idiots careless users from accidentally putting text in an integer column? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,004
Karma: 29579720
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
A composite column cant be copied to a non-composite column, they are complete different beasts under the hood. Trying to guess that the output of the composite one is compatible with the non composite one on all books basically means evaluating it on all books and checking, which, while technically do-able is too slow.
|
|
|
|
|
|
#3 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,566
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Ah, makes sense. All the other columns I want to copy are compatible so I only need to re-insert price (& since I often buy books on sale, sometimes it differs).
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Composite columns and identifiers | ownedbycats | Library Management | 15 | 05-26-2022 03:32 PM |
| Undefined sorting in composite columns | ownedbycats | Library Management | 2 | 01-27-2022 07:16 AM |
| Quickview and composite columns | ownedbycats | Library Management | 2 | 12-25-2020 05:43 PM |
| [Library Closed Plugin] Save Composite Custom Columns | chaley | Plugins | 22 | 04-11-2020 08:09 AM |
| Composite Columns: Stripping HTML from a value | M. Northstar | Library Management | 2 | 08-28-2019 06:39 PM |