Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Reverse engineering a duty rate when dealing with small values

$
0
0
I need to compute the Duty Rate on an item by dividing the Duty Paid by the Value of the goods.  
and this code works:
  • [code language="sql"]CASE when [VALUE] =0 THEN 0 ELSE Round(CAST([Duty] AS flo

  • Viewing all articles
    Browse latest Browse all 3145

    Trending Articles