OsIsNotValidNumber

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{osslfunc
+
{{osslfunc
 
|function_syntax=integer osIsNotValidNumber(float d)
 
|function_syntax=integer osIsNotValidNumber(float d)
 
|threat_level=ignored
 
|threat_level=ignored
Line 5: Line 5:
 
|delay=0
 
|delay=0
 
|description= Returns 0 (false) if d is a valid float, else returns:<br>
 
|description= Returns 0 (false) if d is a valid float, else returns:<br>
  1 - if it is a NaN<br>
+
1 - if it is a NaN<br>
  2 - if it is a Negative Infinity<br>
+
2 - if it is a Negative Infinity<br>
  3 - if it is a Positive Infinity<br>
+
3 - if it is a Positive Infinity<br>
  
 
|additional_info=Added in 0.9.1.0 Oct, 17Th; OS_APIVERSION = 10
 
|additional_info=Added in 0.9.1.0 Oct, 17Th; OS_APIVERSION = 10
}
+
}}

Latest revision as of 14:49, 17 October 2019

integer osIsNotValidNumber(float d)
Returns 0 (false) if d is a valid float, else returns:

1 - if it is a NaN
2 - if it is a Negative Infinity
3 - if it is a Positive Infinity

Threat Level This function does not do a threat level check
Permissions Use of this function is always allowed by default
Delay 0 seconds
Notes
Added in 0.9.1.0 Oct, 17Th; OS_APIVERSION = 10


Personal tools
General
About This Wiki