Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C Sharp only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C Sharp
Calculate top 4 values
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Robert Bravery
#1
Calculate top 4 values
Feb 22 '08, 08:45 AM
Hi all,
C# How could I sum, the top 4 values of a bunch of values
THanks
RObert
Mufaka
#2
Feb 22 '08, 08:45 AM
Re: Calculate top 4 values
Sort them descending and then add the first 4 together.
Robert Bravery wrote:
Hi all,
>
C# How could I sum, the top 4 values of a bunch of values
>
THanks
RObert
>
>
>
Comment
Post
Cancel
Marc Gravell
#3
Feb 22 '08, 09:05 AM
Re: Calculate top 4 values
I'd add to that:
by "top" do you mean "largest" or "first" (the latter being the SQL meaning
of "top")
(since 2 posts already show the ambiguity)
Marc
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment