Changes

Jump to navigation Jump to search
m
no edit summary
|title_mode=append
|keywords= firestorm preprocessor, useful script, script snipit, float, check if input is a float, ossl, lsl, sim, opensim, fire and ice grid, opensimulator, grid, fire, and, ice
|description=A script snipt snippet used to check if the user input is a float, handy to have in your lsl preprocessor folder
}}
[[Category: Useful Scripts]]
This is a short LSL script snippet which will work in both Opensimulator and Second life. It takes user input and then verifies whether it can be correctly used as a float (decimal number). <br>
If you prefer to download the file it is available along with others on my [https://github.com/manwapastorelli/OpenSimLSL GitHub Page]
 
=== Using The Script ===
The functionality for this script is contained in the method (sometimes known as user-defined function or UDF) at the top. Everything inside state_entry is there purely to demonstrate how the function might be used.
==== Licence ====

Navigation menu