Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Select only two decimal places not round

$
0
0

Hi,

Can you help me please how to select only two decimal places and not round the result for example:

$example = 4.57969 

$result = 4.57 not 4.58

Thanks in advance!


Viewing all articles
Browse latest Browse all 6937

Trending Articles