1
Answer

Adding Integers and Decimals

Phil Saville

Phil Saville

13y
1.4k
1
I am currently creating a new maths based application and would like to know how you add, subtract and multiply decimals and integers. So for example say I have 2.5 and want to add 2, the answer should be 4.5 but I always seem to get 2.7. 

Please help, thanks in advance.
Answers (1)
0
Satyapriya Nayak

Satyapriya Nayak

NA 53k 8m 13y
Hi Siri,

Try this...



Edit your app config file



<add key="DBCon" value="Data Source=SU86;Initial Catalog=siri;Integrated Security=True"/>


Thanks