Skip to content

Commit

Permalink
Changed to round function
Browse files Browse the repository at this point in the history
  • Loading branch information
bortolin committed Jun 16, 2022
1 parent 7f650e9 commit 8fc2389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/image/New-DcnImage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@

# If no size set yet, get from restored backup info
if ($dbSizeMB -eq 1) {
$dbSizeMB = $global:dcnBackupInformation.TotalSize.Megabyte / 1n
$dbSizeMB = [math]::Round($global:dcnBackupInformation.TotalSize.Megabyte)
}
}
catch {
Expand Down

0 comments on commit 8fc2389

Please sign in to comment.