© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
14 replies
MattK

Standard deviation calculation code not working as intended

Hello! I am currently trying to code a button that will calculate the mean and standard deviation from a set of 10 data values, however, my after coding my button calculates the mean properly but for whatever reason does not calculate the standard deviation and instead puts the value of the mean in its position instead.

I will leave a copy of the code below.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Calculation not working
C#CC# / help
12mo ago
❔ WinForms Topmost property not working as intended.
C#CC# / help
3y ago
✅ The code doesnt work as intended
C#CC# / help
2y ago
Displaying in App isn't working as intended.
C#CC# / help
15mo ago