diff options
author | TP Honey <tphoney@users.noreply.github.com> | 2017-07-28 12:03:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-28 12:03:14 +0100 |
commit | 0c8697477255f2ca6c477c0a960cd151478729e1 (patch) | |
tree | 218de9aae6613515476bb29171d92e658ccaa7c9 /functions/round.pp | |
parent | a8ce26dbc97c66a154607b8751cb59addd14db77 (diff) | |
parent | 772a2d2f406b65ef65161a04455865b37a1c8456 (diff) |
Merge pull request #798 from eputnam/round_func
(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 ) - } -} |