<?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%3ARemainder</id>
	<title>TI-BASIC:Remainder - 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%3ARemainder"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Remainder&amp;action=history"/>
	<updated>2026-06-10T18:06:40Z</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:Remainder&amp;diff=815&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:Remainder&amp;diff=815&amp;oldid=prev"/>
		<updated>2016-02-24T18:19:58Z</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=remainder.gif&lt;br /&gt;
|summary=Same as modulus - divides a number, but returns the remainder.&lt;br /&gt;
|syntax=remainder(&amp;#039;&amp;#039;dividend&amp;#039;&amp;#039;,&amp;#039;&amp;#039;divisor&amp;#039;&amp;#039;)&lt;br /&gt;
|location=Press:&lt;br /&gt;
# MATH to enter the Math menu&lt;br /&gt;
# Use arrows to go to the NUM menu&lt;br /&gt;
# 0 to choose remainder(, or use arrows&lt;br /&gt;
|compatibility=TI-84+SE with TI-OS 2.53 MP&lt;br /&gt;
|size=2 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The remainder( function divides the first number given by the second number, and returns the remainder similar to the modulus.  This command is only available if you have the TI-84+ Silver Edition and the new 2.53 MP operating system on your calculator.  This command can be used both on the Home screen and when programming.&lt;br /&gt;
&lt;br /&gt;
See the code segment below for an example:&lt;br /&gt;
&lt;br /&gt;
 remainder(30,7)&lt;br /&gt;
&lt;br /&gt;
This returns a value of 2 because 30 divided by 7 has a remainder of 2.&lt;br /&gt;
&lt;br /&gt;
= Compatability =&lt;br /&gt;
&lt;br /&gt;
As said earlier this command only works on a TI-84+ Silver Edition with the 2.53 MP OS, so this will not work on earlier OSes. To avoid non-portability, use the following code.&lt;br /&gt;
&lt;br /&gt;
 BfPart(A/B&lt;br /&gt;
 &lt;br /&gt;
 instead of&lt;br /&gt;
 &lt;br /&gt;
 remainder(A,B&lt;br /&gt;
&lt;br /&gt;
[[TI-BASIC:Fpart|Fpart]] is a command that works in more OSes and more models.&lt;br /&gt;
They also are the same size (5 bytes), as long as B is one byte&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#divideby0|ERR:DIVIDE BY 0]]&amp;#039;&amp;#039;&amp;#039; occurs if you try to input 0 as the divisor.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#domain|ERR:DOMAIN]]&amp;#039;&amp;#039;&amp;#039; occurs if the divisor or dividend is either negative or less than 0&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#syntax|ERR:SYNTAX]]&amp;#039;&amp;#039;&amp;#039; occurs if the divisor or dividend is a symbol, or character or non-real number&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#datatype|ERR:DATA TYPE]]&amp;#039;&amp;#039;&amp;#039; occurs if the divisor or dividend is not a number, (i.e. text)&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Divide|/]]&lt;br /&gt;
* [[TI-BASIC:N_D|n/d]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>