Edited function and sslc docs

This commit is contained in:
NovaRain
2023-07-17 20:53:50 +08:00
parent 6eeb674641
commit 6d66bfffb0
3 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -540,8 +540,8 @@ sfall_funcX metarule functions
----
#### floor2
`int sfall_func1("floor2", int/float value)`
- Works just like vanilla `floor` function, but returns correct integers for negative values
- __NOTE:__ vanilla `floor` function works exactly the same as ceil for negative values, much like trunc in C/C++
- Works just like vanilla `floor` function, but returns correct integers for negative floats
- __NOTE:__ vanilla `floor` function works exactly the same as `ceil` for negative floats (i.e. basically `trunc` in C/C++)
----
#### item_weight