altibiz / ozds

OZDS
Other
0 stars 0 forks source link

Change precision of numeric values in db #82

Open HrvojeJuric opened 2 months ago

HrvojeJuric commented 2 months ago

They should be stored in the database as unsigned integers and not floats also change energy calculation item min max to unsigned integers for currency we should check in with finances connection power on meters match power on measurements validator types should match measurement types add min max limits to catalogue values and rounding on ui modify calculation tests afterwards so they include all reasonably possible values add explicit conversion functions to and from types in the db and decimal