bhavesh-jadav / Advance-Card

Advance Card Visual for Power BI
http://bhaveshjadav.in/powerbi/advancecard/
GNU General Public License v3.0
25 stars 12 forks source link

Inaccurate rounding for currency data type #81

Open Cajaco opened 4 months ago

Cajaco commented 4 months ago

I think there’s a bug affecting the display of currency-type values. Converted to a currency value and displayed with just two decimal places, 0.00504999 gets rounded to 0.00 instead of 0.01, whereas 0.00505 does get rounded to 0.01. The standard card visual rounds both values (as well as 0.005) to 0.01, as is appropriate.