Difference between revisions of "ApCoCoA-1:Fn.GetAccuracy"
From ApCoCoAWiki
S schuster (talk | contribs) (New page: <command> <title>Fn.GetAccuracy</title> <short_description>Get the currently used accuracy.</short_description> <syntax> Fn.GetAccuracy():INT </syntax> <description> <itemize> <item>...) |
m (replaced <quotes> tag by real quotes) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Version|1}} | ||
<command> | <command> | ||
<title>Fn.GetAccuracy</title> | <title>Fn.GetAccuracy</title> | ||
Line 6: | Line 7: | ||
</syntax> | </syntax> | ||
<description> | <description> | ||
− | + | By default, the accuracy is set to 10. | |
<itemize> | <itemize> | ||
<item>@return Returns the currently used accuracy.</item></itemize> | <item>@return Returns the currently used accuracy.</item></itemize> | ||
<example> | <example> | ||
− | Fn.SetAccuracy( | + | Fn.SetAccuracy(20); |
PrintLn "Current accuracy: ", Fn.GetAccuracy(); | PrintLn "Current accuracy: ", Fn.GetAccuracy(); | ||
− | Current accuracy: | + | Current accuracy: 20 |
------------------------------- | ------------------------------- | ||
Line 20: | Line 21: | ||
</example> | </example> | ||
</description> | </description> | ||
− | <see> | + | <see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see> |
<key>Fn.GetAccuracy</key> | <key>Fn.GetAccuracy</key> | ||
− | <key> | + | <key>elemfns.GetAccuracy</key> |
<key>GetAccuracy</key> | <key>GetAccuracy</key> | ||
− | <wiki-category>Package_elemfns</wiki-category> | + | <wiki-category>ApCoCoA-1:Package_elemfns</wiki-category> |
</command> | </command> |
Latest revision as of 13:31, 29 October 2020
This article is about a function from ApCoCoA-1. |
Fn.GetAccuracy
Get the currently used accuracy.
Syntax
Fn.GetAccuracy():INT
Description
By default, the accuracy is set to 10.
@return Returns the currently used accuracy.
Example
Fn.SetAccuracy(20); PrintLn "Current accuracy: ", Fn.GetAccuracy(); Current accuracy: 20 -------------------------------