Difference between revisions of "ApCoCoA-1:Fn.GetAccuracy"

From ApCoCoAWiki
m (insert version info)
m (replaced <quotes> tag by real quotes)
 
Line 13: Line 13:
 
<example>
 
<example>
 
Fn.SetAccuracy(20);
 
Fn.SetAccuracy(20);
PrintLn <quotes>Current accuracy: </quotes>, Fn.GetAccuracy();
+
PrintLn "Current accuracy: ", Fn.GetAccuracy();
  
 
Current accuracy: 20
 
Current accuracy: 20

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

-------------------------------

Fn.SetAccuracy