jCalc/Calculator.xaml.cs
/// <summary>
/// Replace entire displayEntry with new string
/// </summary>
/// <param name="str">String to replace</param>
Replace entire displayEntry with new string
Replace entire displayEntry with new string
public void ReplaceEntry(string str)
        {
            displayEntry = str;
            if (displayEntry.Contains("."))
            {
                displayEntryHasDecimal = true;
            }
            else
            {
                displayEntryHasDecimal = false;
            }
            pendingOperationLocked = true;
        }
public void ReplaceEntry ( string str ) { displayEntry = str ; if ( displayEntry . Contains ( " " ) ) { displayEntryHasDecimal = true ; } else { displayEntryHasDecimal = false ; } pendingOperationLocked = true ; }
Replace entire displayEntry with new string
Replace entire displayEntry with new string
str
string
String to replace
String to replace