Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

5
Is this DotNet/C# or ??? '[System.Math]::Round(3.44, 1)'
Author Summary
williamt31 is in System.Math
Post Body

I saw a test example of code in a PoSH script [System.Math]::Pow(2, 3) and my googlefu is failing me. Is this DotNet/C# working from the PoSH prompt or something else? I found some MS docs 'Math.Round(3.44, 1)' and logically converted it to '[System.Math]::Round(3.44, 1)' but I'd like to get a better understanding of what this is and what I'm doing.

Does anyone have any guidance at a minimum of what I can search for or perhaps specific links so I can learn and understand how to use this 'code'?

Author
Account Strength
90%
Account Age
9 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,174
Link Karma
215
Comment Karma
3,959
Profile updated: 3 days ago
Posts updated: 3 days ago

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago