Browse Source

Document Math.sign

sole 13 years ago
parent
commit
9979d61510
1 changed files with 4 additions and 0 deletions
  1. 4 0
      docs/api/core/Math.html

+ 4 - 0
docs/api/core/Math.html

@@ -66,6 +66,10 @@
 		Random float from *- range / 2* to *range / 2* interval.
 		Random float from *- range / 2* to *range / 2* interval.
 		</div>
 		</div>
 
 
+		<h3>.sign( [page:Float x] ) [page:Float]</h3>
+		<div>
+		Returns -1 if *x* is less than 0, 1 if *x* is greater than 0, and 0 if *x* is zero.
+		</div>
 
 
 		<h2>Source</h2>
 		<h2>Source</h2>