Allow for 3 decimal places in PurchasePrice and SellPrice.
This commit is contained in:
@@ -195,7 +195,7 @@ namespace TradeBlotter.UIUtils
|
|||||||
|
|
||||||
private void UpdateSellPrice()
|
private void UpdateSellPrice()
|
||||||
{
|
{
|
||||||
txtSellPrice.Text=Utility.FormatCurrency(SellPrice);
|
txtSellPrice.Text=Utility.FormatCurrency(SellPrice,3);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateCompanyName()
|
private void UpdateCompanyName()
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ namespace TradeBlotter.UIUtils
|
|||||||
|
|
||||||
private void UpdateSellPrice()
|
private void UpdateSellPrice()
|
||||||
{
|
{
|
||||||
txtSellPrice.Text=Utility.FormatCurrency(SellPrice);
|
txtSellPrice.Text=Utility.FormatCurrency(SellPrice,3);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateCompanyName()
|
private void UpdateCompanyName()
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ namespace TradeBlotter.UIUtils
|
|||||||
}
|
}
|
||||||
private void UpdatePurchasePrice()
|
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 **************************************
|
// ********************************************************************************** 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 **************************************
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ namespace TradeBlotter.UIUtils
|
|||||||
}
|
}
|
||||||
private void UpdatePurchasePrice()
|
private void UpdatePurchasePrice()
|
||||||
{
|
{
|
||||||
txtPurchasePrice.Text=Utility.FormatCurrency(PurchasePrice);
|
txtPurchasePrice.Text=Utility.FormatCurrency(PurchasePrice,3);
|
||||||
}
|
}
|
||||||
// *********************************************************************************************************************************************************************************
|
// *********************************************************************************************************************************************************************************
|
||||||
private void dpPurchaseDate_SelectionChanged(object sender,RoutedEventArgs e)
|
private void dpPurchaseDate_SelectionChanged(object sender,RoutedEventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user