Difference between revisions of "Number"

From OpenKore Wiki
Jump to: navigation, search
(Redirected page to References#number)
 
Line 1: Line 1:
== Overview ==
+
#REDIRECT [[References#number]]
 
+
Number. May be a fractional value (with dot <code>.</code> separator) or just an integer.
+
 
+
Empty string (unset option) or strings starting with non-numeric characters are evaluated as in Perl, usually to '''0'''.
+
 
+
== Notes ==
+
 
+
This is not a [[References#Range_Operators|range]]. Values like "<code>= 11</code>" would just evaluate to '''0'''.
+
 
+
== API ==
+
 
+
There is no API per se, just use usual [http://perldoc.perl.org/perlop.html#Relational-Operators Perl's relational and equality operators].
+
 
+
=== Examples ===
+
 
+
if ($config{answerToLifeUniverseAndEverything} == 42) { ...
+
 
+
[[Category:Reference]]
+
__NOTOC__
+

Latest revision as of 15:10, 6 July 2019

Redirect to: