Skip to content

Commit

Permalink
Correcciones de cifras significativas
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario González Galindo committed Oct 31, 2023
1 parent d42334e commit 5f4e7a0
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ else
@ArticlesInfo[j + 10 * i].Description
</td>
<td>
@($"${OrderArticles[j + 10 * i].SalePrice.ToString("n4")}")
@($"${OrderArticles[j + 10 * i].SalePrice.ToString("n2")}")
</td>
<td>
@($"${(OrderArticles[j + 10 * i].SalePrice * OrderArticles[j + 10 * i].Quantity).ToString("n4")} {Order.Currency}")
@($"${(OrderArticles[j + 10 * i].SalePrice * OrderArticles[j + 10 * i].Quantity).ToString("n2")} {Order.Currency}")
</td>
</tr>
}
Expand Down Expand Up @@ -172,17 +172,17 @@ else
</div>
<div>
<span style="color: black">
$@Subtotal.ToString("n4") @Order.Currency
$@Subtotal.ToString("n2") @Order.Currency
</span>
</div>
<div>
<span style="color: black">
$@Tax.ToString("n4") @Order.Currency
$@Tax.ToString("n2") @Order.Currency
</span>
</div>
<div>
<span style="color: black">
$@Total.ToString("n4") @Order.Currency
$@Total.ToString("n2") @Order.Currency
</span>
</div>
</div>
Expand Down

0 comments on commit 5f4e7a0

Please sign in to comment.