Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 grid view

Author  Topic 

bleody
Starting Member

1 Post

Posted - 2011-08-27 : 02:05:43
Hai, i have a problem in asp.net grid view, i.e i have one grid view
that total came in e^ (its float type). i want to converted the double.
how can i do? please help me immediately.


My cheers,
bleody..

hariprasath.i

Diconds
Starting Member

1 Post

Posted - 2011-09-10 : 12:42:33
why you don't take help from Google. In google you can serch site w3schools.com. You get here perfect answer of you question.
_____________________
http://diconds.com/

Dicon is perfect medicine for stomach disorder, irritable bowel syndrome, gastrointestinal disorder, constipation and diarrhea
Go to Top of Page

Eagle_f90
Constraint Violating Yak Guru

424 Posts

Posted - 2011-09-14 : 14:09:23
quote:
Originally posted by bleody

Hai, i have a problem in asp.net grid view, i.e i have one grid view
that total came in e^ (its float type). i want to converted the double.
how can i do? please help me immediately.


My cheers,
bleody..

hariprasath.i



That would depend on what language your useing in your asp.net pages. if your doing c# then it would be

Convert.ToDouble(VARIABLE);

--
If I get used to envying others...
Those things about my self I pride will slowly fade away.
-Stellvia
Go to Top of Page

jassi.singh
Posting Yak Master

122 Posts

Posted - 2011-10-08 : 09:24:03
Hi,

You can convert it using Convert.ToDouble(youvalue) refer http://msdn.microsoft.com/en-us/library/zh1hkw6k.aspx#Y0

Please mark answer as accepted if it helped you.

Thanks,
Jassi Singh
Go to Top of Page
   

- Advertisement -