Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Format a number with two decimals

$
0
0

I see there's a method for the Double type called .ToDecimal()

I was wondering how that can be used. I am trying to output a number with lots of decimals to a number with only two decimals so that it will be easier to read


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>