diff options
author | Eric Putnam <putnam.eric@gmail.com> | 2017-07-27 09:24:52 -0700 |
---|---|---|
committer | Eric Putnam <putnam.eric@gmail.com> | 2017-07-27 09:38:41 -0700 |
commit | 772a2d2f406b65ef65161a04455865b37a1c8456 (patch) | |
tree | 1a8211a374c15fb6fbe31809cf07c1df321315d2 /functions/round.pp | |
parent | d65a144aea0cd73f4aaa0cef15c74414baba5c8d (diff) |
(maint) move/rewrite round() as ruby function
Diffstat (limited to 'functions/round.pp')
-rw-r--r-- | functions/round.pp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/functions/round.pp b/functions/round.pp deleted file mode 100644 index 6bad92d..0000000 --- a/functions/round.pp +++ /dev/null @@ -1,9 +0,0 @@ -function stdlib::round( - Numeric $input, -) { - if $input >= 0 { - Integer( $input + 0.5 ) - } else { - Integer( $input - 0.5 ) - } -} |