InputBuffer.Negate() - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki
Namespace: UtilityClassLibrary
Description: Negates the value held in buffer.
Returns | Description |
---|---|
void | this method does not return anything |
Examples:
var buffer = new InputBuffer();
buffer.Add("9"); //now contains "9"
buffer.Negate(); //now contains "-9"
buffer.Negate(); //now contains "9"