documented new script functions

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1015 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-07-09 16:28:46 +00:00
parent bde65525ad
commit 9073764a62
12 changed files with 232 additions and 76 deletions
+5 -3
View File
@@ -16,9 +16,11 @@ Convert any value to a [[type:int]].
| @input@ ''any type'' Value to convert to an integer number
--Examples--
> to_int(1.5) == "1"
> to_int("15") == "15"
> to_int(true) == 1
> to_int(1.5) == "1"
> to_int("15") == "15"
> to_int(true) == 1
> to_int(rgb(255,255,255)) == 255
--See also--
| [[fun:to_real]] Convert any value to a [[type:double]]
| [[fun:to_number]] Convert any value to a number