No announcements

### C# - how to use LINQ to do some basic math

Weighted price = (1*1)/14 + (2*2)/14 + (3*3)/14 = 1 I know how to do this without LINQ, but I want to know how to ...
| 1 Replies | 514 Views | Created by zydjohn - Thursday, June 21, 2018 2:15 PM | Last reply by Ehsan Sajjad - Thursday, June 21, 2018 2:30 PM

### How to do this by C# Linq

Actually, I know how to use Linq to find the Sum of credits for each students within the same CourseID, but my goals was to find how to get the Product ...
| 3 Replies | 433 Views | Created by zydjohn - Wednesday, January 29, 2020 9:24 PM | Last reply by Xingyu Zhao - Thursday, January 30, 2020 11:38 AM

### Using math functions in Visual Basic

X = sum(A, B, C) but I get the error that this function is not defined.  There HAS to be some way of summing besides using the "+" ...
| 2 Replies | 4568 Views | Created by Camcik - Thursday, April 19, 2007 5:51 PM | Last reply by Camcik - Thursday, April 19, 2007 8:50 PM

### New to LINQ - Math/Query Question

I am new to LINQ and I have some very basic questions regarding LINQ > queries. > > I am
| 2 Replies | 3951 Views | Created by AaronRG - Saturday, June 4, 2011 9:42 PM | Last reply by Larcolais Gong - Tuesday, June 7, 2011 8:36 AM

### Basic math

Hi Bryan, Please post your table DDL with some sample data. We may be able to help in this case. Thanks, Janos There are 10 ...
| 11 Replies | 2496 Views | Created by Bryan Rev - Monday, December 19, 2011 7:15 PM | Last reply by Bryan Rev - Tuesday, December 20, 2011 5:58 PM

### Basic Example Using Linq

Hi to all I have not used linq before. I want to learn it. I tried but i am very confused as how to use linq with my database which is ...
| 2 Replies | 3829 Views | Created by Varunpals29 - Tuesday, June 29, 2010 8:35 AM | Last reply by Allan Merolla - Wednesday, June 30, 2010 2:02 PM

### Math functions in Linq To Entities

Hi, I would like to use a number of Math functions in my Linq To Entities queries, but only a very few seem to be supported directly. Having looked at ...
| 3 Replies | 11906 Views | Created by Graham Hay - Tuesday, March 17, 2009 9:19 AM | Last reply by Sushil Chordia - MSFT - Friday, March 27, 2009 10:51 PM

### project 2010 doing basic math between columns

I do not know how to do a simple math calculation in project for a production schedule I am trying to develope. Can someone help? I have 2 custom ...
| 2 Replies | 1004 Views | Created by david s w - Tuesday, October 29, 2013 3:09 PM | Last reply by John - Project - Tuesday, October 29, 2013 4:04 PM

### Math Calculator using C#

doesn't seem to do it. It only adds the last two numbers and therefore, these are how the following calculations get ...
| 2 Replies | 1575 Views | Created by 2Fast2Furious007 - Saturday, September 21, 2013 2:49 AM | Last reply by Anne Jing - Tuesday, September 24, 2013 12:51 PM

### How do I incorperate this math formula in C#

What im trying to do is use this formula in my Program (10*1*(3+(X/2))*Y)/60 What im trying to do is make textbox 1 where x goes and ...
| 2 Replies | 430 Views | Created by Goobear - Thursday, November 27, 2014 3:45 AM | Last reply by Doanh, Qh - Thursday, November 27, 2014 7:08 AM

### Storing questions for a basic Math game in an Array. C#

Ok So I've Decided on how I'm going to do it and I'm hoping someone will be kind enough to code it up for me. You can use things I can change like instead ...
| 9 Replies | 3055 Views | Created by AppleFanboyNZ - Friday, May 17, 2013 12:05 AM | Last reply by AppleFanboyNZ - Thursday, May 23, 2013 10:33 AM

### Some basic C# questions

this.theMainForm.BringToFront();     as for Question 2: use the above approach to do the same thing for passing ...
| 5 Replies | 3870 Views | Created by yagfxg33k - Sunday, August 20, 2006 10:50 PM | Last reply by ahmedilyas - Sunday, August 20, 2006 11:59 PM

### Would it be nice to be able to do basic math in xaml?

very simple to implement and something that is universally useful without violating the MVC pattern at all. Of course one way of doing this (and something that definately ...
| 1 Replies | 2155 Views | Created by DanEloff - Monday, May 5, 2008 12:11 PM | Last reply by Allen Chen - MSFT - Wednesday, May 7, 2008 3:59 AM

### Math Problems Solving Application (Desktop) Using C#

and some other things like these. Now I am good at maths and I can solve these problems but the problem is that I'm not sure that this can be done effectively in ...
| 3 Replies | 687 Views | Created by Mohammad Sohaib Sultan - Tuesday, November 15, 2016 1:38 PM | Last reply by - Saturday, November 19, 2016 11:50 AM

### Need some Math help

Hey. I'm trying to make a game with XNA and need help with some math. Because I'm really bad at it. I have a object called "PixelMap" which is a 8x8 ...
| 1 Replies | 1470 Views | Created by Arkytek - Thursday, June 7, 2012 8:58 AM | Last reply by Acamar - Thursday, June 7, 2012 10:36 AM

### LINQ to SQL and Math

>1. And I would like to sum column n._1 Someone have an idea about how to do that? If you want to retrieve a sum result, we could use the following ...
| 3 Replies | 735 Views | Created by Patonline - Sunday, June 26, 2016 10:51 PM | Last reply by Patonline - Monday, June 27, 2016 9:03 PM

### How to do some basic directory operations?

Hello I am trying to do some basic directory operations. But I have some ...
| 5 Replies | 707 Views | Created by rain-13 - Wednesday, January 1, 2014 6:57 PM | Last reply by isenthil - Thursday, January 2, 2014 9:08 AM

### How to do math with aggregated data?

] The Value expression for the textrun ‘OrderCountMTDActual18.Paragraphs[0].TextRuns[0]’ uses an aggregate function with an expression that returned a data type not valid for the ...
| 3 Replies | 4774 Views | Created by JerryLBell - Tuesday, August 25, 2009 7:00 PM | Last reply by JerryLBell - Tuesday, August 25, 2009 8:41 PM