<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wikiti.brandonw.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=83Plus%3ABCALLs%3A4093</id>
		<title>83Plus:BCALLs:4093 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=83Plus%3ABCALLs%3A4093"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4093&amp;action=history"/>
		<updated>2026-04-05T15:25:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4093&amp;diff=3639&amp;oldid=prev</id>
		<title>129.21.38.124 at 21:55, 25 April 2005</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4093&amp;diff=3639&amp;oldid=prev"/>
				<updated>2005-04-25T21:55:14Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:83Plus:BCALLs:By Name:FP_Util|Frac]] [[Category:83Plus:BCALLs:By Name|Frac]] [[Category:83Plus:BCALLs:By Address|4093 - Frac]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Official Name:''' Frac&lt;br /&gt;
&lt;br /&gt;
'''BCALL Address:''' 4093&lt;br /&gt;
&lt;br /&gt;
Finds the fractional part of [[83Plus:RAM:8478|OP1]] and returns the value in [[83Plus:RAM:8478|OP1]].&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* [[83Plus:RAM:8478|OP1]] = floating point&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* [[83Plus:RAM:8478|OP1]] = OP1-int(OP1)&lt;br /&gt;
&lt;br /&gt;
=== Destroys ===&lt;br /&gt;
* AF, HL&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
This is similar to the BASIC function fPart().  For negative numbers, the sign bit will remain.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;B_CALL OP1Set3  ;OP1=floating point 3&lt;br /&gt;
B_CALL Op1Set2  ;op2=floating point 2&lt;br /&gt;
B_CALL FPDiv  ;op1=1.5&lt;br /&gt;
B_CALL Frac  ;returns with OP1=floating point 0.5&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>129.21.38.124</name></author>	</entry>

	</feed>