# OsIsNotValidNumber

### From OpenSimulator

(Difference between revisions)

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> | |

− | + | 2 - if it is a Negative 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 15: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 | |

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 |