Functions/Math/Get-Round.ps1
Function Get-Round { [CmdletBinding()] Param ( # Input Values [Parameter(Mandatory=$true,ValueFromPipeline=$true,Position=1)] $Value, # Input Values [Parameter(Mandatory=$false,Position=0)] [int] $Digits = 2 ) Process {[math]::round($Value,$Digits)} } |