<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inspired-lua.org/index.php?action=history&amp;feed=atom&amp;title=math.setEvalSettings</id>
	<title>math.setEvalSettings - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inspired-lua.org/index.php?action=history&amp;feed=atom&amp;title=math.setEvalSettings"/>
	<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=math.setEvalSettings&amp;action=history"/>
	<updated>2026-05-19T07:39:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=math.setEvalSettings&amp;diff=1260&amp;oldid=prev</id>
		<title>Adriweb at 02:56, 18 August 2015</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=math.setEvalSettings&amp;diff=1260&amp;oldid=prev"/>
		<updated>2015-08-18T02:56:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:56, 18 August 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Note''' : All results from the TI-Nspire math server are returned as full-precision expressions. If users want to limit the display digits, they must call [[math.getEvalSettings]]() and apply the appropriate precision before displaying the value returned by the TI-Nspire math server.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Note''': All results from the TI-Nspire math server are returned as full-precision expressions. If users want to limit the display digits, they must call [[math.getEvalSettings]]() and apply the appropriate precision before displaying the value returned by the TI-Nspire math server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=math.setEvalSettings&amp;diff=955&amp;oldid=prev</id>
		<title>Adriweb: Created page with &quot;'''math.setEvalSettings''' is a math library extension used to override one or more of the current document settings for all subsequent math evaluations performed by [[math.eval]...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=math.setEvalSettings&amp;diff=955&amp;oldid=prev"/>
		<updated>2013-05-30T14:09:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;math.setEvalSettings&amp;#039;&amp;#039;&amp;#039; is a math library extension used to override one or more of the current document settings for all subsequent math evaluations performed by [[math.eval]...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''math.setEvalSettings''' is a math library extension used to override one or more of the current document settings for all subsequent math evaluations performed by [[math.eval]] and [[math.evalStr]].&lt;br /&gt;
It does not change the document context settings. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The function '''math.setEvalSettings''' may be called at any point in the script app. The modified document settings are used by [[math.eval]] for all subsequent calls within the script app (unless modified by a subsequent call to ''setEvalSettings'' ).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''' : All results from the TI-Nspire math server are returned as full-precision expressions. If users want to limit the display digits, they must call [[math.getEvalSettings]]() and apply the appropriate precision before displaying the value returned by the TI-Nspire math server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Since|3.2}}&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
&lt;br /&gt;
math.'''setEvalSettings'''(settingsTable) &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;settingsTable&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || table || Table of tables. Each inner table consists of the name of the document setting to override and the name of the value to use instead. &lt;br /&gt;
The key-values are either text strings or the number they're linked to.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
settings = {&lt;br /&gt;
 	{'Unit System','Eng/US'},&lt;br /&gt;
 	{'Calculation Mode','Approximate'},&lt;br /&gt;
 	{'Real or Complex Format','Polar'},&lt;br /&gt;
 	{'Exponential Format','Engineering'}&lt;br /&gt;
}&lt;br /&gt;
math.setEvalSettings(settings)&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For user convenience, setEvalSettings also accepts the ordinal number of the setting to override and the ordinal number of the value to use instead. The ordinal numbers to use correspond to the order of the settings and their values found at File &amp;gt; Settings &amp;gt; Document Settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
settings = {&lt;br /&gt;
 	{2,3},&lt;br /&gt;
 	{4,3},&lt;br /&gt;
 	{6,3},&lt;br /&gt;
 	{8,2}&lt;br /&gt;
}&lt;br /&gt;
math.setEvalSettings(settings)&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In fact, setEvalSettings accepts any combination of names (strings) and ordinal numbers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also  ==&lt;br /&gt;
&lt;br /&gt;
[[math.eval]] &lt;br /&gt;
&lt;br /&gt;
[[Category:Extended_Standard_Library]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
</feed>