summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorKristof Willaert <kristof.willaert@gmail.com>2013-03-19 10:00:57 +0100
committerKristof Willaert <kristof.willaert@gmail.com>2013-03-19 10:00:57 +0100
commit05273419e1c8b34115ede15b1d8a8739f6a0db00 (patch)
treea2177d46f853cd219507d9a0c4d1e339d50fae45 /README.markdown
parentfc2352f346b7b7acfc1a51afe4d17310cdcc4213 (diff)
Add floor function implementation and unit tests
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index f1ac6b3..121b784 100644
--- a/README.markdown
+++ b/README.markdown
@@ -198,6 +198,20 @@ Would return: ['a','b','c']
- *Type*: rvalue
+floor
+-----
+Returns the largest integer less or equal to the argument.
+Takes a single numeric value as an argument.
+
+*Examples:*
+
+ floor('3.8')
+
+Would return: '3'
+
+
+- *Type*: rvalue
+
fqdn_rotate
-----------
Rotates an array a random number of times based on a nodes fqdn.