My Collection Size and Weight are rounded off

4 messages • Vu 49 fois

Ce message a été posté dans le forum anglais.

Ce message a pour but de : signaler un bug

Statut : Ouvert
Votes pour : 0
Votes contre : 0

Hello all,

 

I recently noticed that in “My Collection” I can make the fields “Size” and “Weight” visible and then fill in data there for items in my collection. For Size, the description states: “millimeters (format: 4,55; 6,6; 10)”. And for Weight: “grams (format: 10,435; 4,55; 6,6; 10)”.

 

However, if I then enter, for example, Size “4,55” and click “Save,” what I entered is automatically rounded to whole units—more specifically, 4,55 is rounded down to 4. The same happens with millimeters.

 

Based on the aforementioned descriptions (including decimals), this seems like a bug, and also because with coins—especially classical ones—values are never rounded to whole grams or millimeters. Could this be adjusted or fixed?

 

Thanks in advance.

Try 4.55 and see if it still happens. Could be a setting for decimal operator issue on your side.

Only works if a decimal is used even though the examples only use a comma. Also, your Personal options in My account settings don't matter. The same behavior occurs regardless if your option is Default, Dot or Comma. It's not rounding down. Rather it's ignoring everything after the comma.

In personal options I can choose the decimal separator: Default; Dot (3.14); Comma (3,14). 

If I choose default or comma, and use a dot in stead of a comma, the inserted value turns red but when saved the value with dot is shown. If I choose the option dot and use a dot the inserted value remains black and when saved the value with dot is shown (no rounding down or ignoring). If I choose the option dot and use a comma the inserted value is rounded down again. Right as rsirian1 mentions 

» Charte d'utilisation du forum

Le fuseau horaire utilisé est UTC+2:00.
L'heure actuelle est 0h29.