mirror of
https://github.com/mgroves/MonodroidStockPortfolio.git
synced 2024-12-28 03:00:17 +00:00
uppercasing of user entered tickers
This commit is contained in:
parent
9f49dbc187
commit
4b3f252a38
1 changed files with 3 additions and 3 deletions
|
@ -130,9 +130,9 @@ namespace MonoStockPortfolio.Activites
|
|||
positionToSave = new Position();
|
||||
}
|
||||
|
||||
positionToSave.Shares = decimal.Parse(SharesTextBox.Text.ToString());
|
||||
positionToSave.PricePerShare = decimal.Parse(PriceTextBox.Text.ToString());
|
||||
positionToSave.Ticker = TickerTextBox.Text.ToString();
|
||||
positionToSave.Shares = decimal.Parse(SharesTextBox.Text);
|
||||
positionToSave.PricePerShare = decimal.Parse(PriceTextBox.Text);
|
||||
positionToSave.Ticker = TickerTextBox.Text.ToUpper();
|
||||
positionToSave.ContainingPortfolioID = ThisPortfolioId;
|
||||
return positionToSave;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue