Allow for 3 decimal places in PurchasePrice and SellPrice.

This commit is contained in:
2026-02-18 16:34:03 -05:00
parent 015b6c4dab
commit 10b3a28fcb
4 changed files with 4 additions and 4 deletions

View File

@@ -195,7 +195,7 @@ namespace TradeBlotter.UIUtils
private void UpdateSellPrice()
{
txtSellPrice.Text=Utility.FormatCurrency(SellPrice);
txtSellPrice.Text=Utility.FormatCurrency(SellPrice,3);
}
private void UpdateCompanyName()

View File

@@ -190,7 +190,7 @@ namespace TradeBlotter.UIUtils
private void UpdateSellPrice()
{
txtSellPrice.Text=Utility.FormatCurrency(SellPrice);
txtSellPrice.Text=Utility.FormatCurrency(SellPrice,3);
}
private void UpdateCompanyName()

View File

@@ -125,7 +125,7 @@ namespace TradeBlotter.UIUtils
}
private void UpdatePurchasePrice()
{
txtPurchasePrice.Text=Utility.FormatCurrency(PurchasePrice);
txtPurchasePrice.Text=Utility.FormatCurrency(PurchasePrice,3);
}
// *******************************************************************************************************************************************************************************
// ********************************************************************************** I N I T I A L S T O P R E C O M M E N D A T I O N **************************************

View File

@@ -111,7 +111,7 @@ namespace TradeBlotter.UIUtils
}
private void UpdatePurchasePrice()
{
txtPurchasePrice.Text=Utility.FormatCurrency(PurchasePrice);
txtPurchasePrice.Text=Utility.FormatCurrency(PurchasePrice,3);
}
// *********************************************************************************************************************************************************************************
private void dpPurchaseDate_SelectionChanged(object sender,RoutedEventArgs e)