<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ASubtract</id>
	<title>TI-BASIC:Subtract - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ASubtract"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Subtract&amp;action=history"/>
	<updated>2026-04-30T07:11:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Subtract&amp;diff=864&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Subtract&amp;diff=864&amp;oldid=prev"/>
		<updated>2016-02-24T18:22:32Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:TI-BASIC:Command&lt;br /&gt;
|picture=SUBTRACT.GIF&lt;br /&gt;
|summary=Returns the difference between two numbers.&lt;br /&gt;
|syntax=&amp;#039;&amp;#039;value1&amp;#039;&amp;#039; - &amp;#039;&amp;#039;value2&amp;#039;&amp;#039;&lt;br /&gt;
|location=Press [-]&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The - (subtract) operator takes two numbers, variables, or expressions and subtracts one from the other, thus returning the difference between them. The - operator appears lower in the order of operations than both [[TI-BASIC:Multiply|*]] and [[TI-BASIC:Divide|/]], so if those appear in an expression, they will be executed first. In addition,  the [[TI-BASIC:Add|+]] operator has the same order of operations as -, so the calculator simply executes them left to right in the order that they appear.&lt;br /&gt;
&lt;br /&gt;
 :1-1&lt;br /&gt;
            0&lt;br /&gt;
 &lt;br /&gt;
 :5→X&lt;br /&gt;
 :2-3X&lt;br /&gt;
            -13&lt;br /&gt;
 &lt;br /&gt;
 :2→A:3→B&lt;br /&gt;
 :A/B-B/A&lt;br /&gt;
            -.8333333333&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#syntax|ERR:SYNTAX]]&amp;#039;&amp;#039;&amp;#039; is thrown if you try to use - (subtract) in place of [[TI-BASIC:Negative|‾]] (negative). Because they look very similar, it&amp;#039;s easy to get this error; at the same time, it&amp;#039;s an easy error to fix.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* + ([[TI-BASIC:Add|Add]])&lt;br /&gt;
* * ([[TI-BASIC:Multiply|Multiply]])&lt;br /&gt;
* / ([[TI-BASIC:Divide|Divide]])[[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>