Skip to content

Improve Start-Sleep cmdlet to accept fractional seconds (#8477)#6

Open
TommiTallgren wants to merge 3 commits intomasterfrom
pull-8537
Open

Improve Start-Sleep cmdlet to accept fractional seconds (#8477)#6
TommiTallgren wants to merge 3 commits intomasterfrom
pull-8537

Conversation

@TommiTallgren
Copy link
Copy Markdown

PR Summary

  • "Seconds" parameter of Start-Sleep function is now interpreted as
    double. This removes the rounding error when the parameter with
    fractions is converted to milliseconds.
  • ValidateRangeAttribute parameters converted to double to remove error
    when Seconds parameter is now of double type.

Fix PowerShell#8477

PR Checklist

- "Seconds" parameter of Start-Sleep function is now interpreted as
  double. This removes the rounding error when the parameter with
  fractions is converted to milliseconds.
- ValidateRangeAttribute parameters converted to double to remove error
  when Seconds parameter is now of double type.
@softagram-bot
Copy link
Copy Markdown

Softagram identified no dependency changes nor impact in this change (head commit d0a8304)

Check the full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Start-Sleep accept fractional seconds

3 participants