PowerTip: Format Decimal Numbers in PowerShell
Summary: Learn how to display a specific number of decimal points in Windows PowerShell.
How can I use Windows PowerShell to display only one decimal place on a number that currently has two?
Use a custom number format string with the ToString method from the number, for example:
PS C:\> (1.11).tostring("#.#")