diff options
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 ) - } -} |