Thread: Editing Floats
View Single Post
Old 09-29-2016, 04:15 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,462
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Terisa de morgan View Post
There's a similar problem with float. Say I have two books with prices set to 0,99. It I edit the single register, the price appears as 0,99. If I do a bulk edit, the price appears as 0. It looks like, in these cases, the recovered information is not quite proper.
I don't see this problem, at least as how I understand it. What I tried:
  • Create a float custom column, without a formatting template.
  • Enter values in the column in the spreadsheet. No problems.
  • Use metadata edit (single) to edit the field. No problem.
  • Select two books with the same value in the field and open bulk edit. I see the correct value in bulk edit. After changing the value I see the correct new value in the spreadsheet.
  • Select books with different values in the column and launch bulk edit. This time I see (Undefined) in bulk edit. If I change the value then I see the new value in the spreadsheet.
I repeated these steps on a column with a formatting template with the same results.

I use a locale specifying "1,234.56". Your example implies that you are using a locale specifying "1 234,56". I don't know if I am interpreting your example correctly or if it makes any difference.
chaley is offline   Reply With Quote