Click here to Skip to main content
15,890,845 members
Home / Discussions / C#
   

C#

 
Questionserver/client help Pin
amaankhan2-Oct-09 20:52
amaankhan2-Oct-09 20:52 
AnswerRe: server/client help Pin
Xmen Real 2-Oct-09 21:02
professional Xmen Real 2-Oct-09 21:02 
GeneralRe: server/client help Pin
amaankhan2-Oct-09 21:14
amaankhan2-Oct-09 21:14 
AnswerRe: server/client help Pin
srikrishnakrishna murthy3-Oct-09 0:02
srikrishnakrishna murthy3-Oct-09 0:02 
GeneralRe: server/client help Pin
amaankhan3-Oct-09 4:34
amaankhan3-Oct-09 4:34 
QuestionStop app from stealing Focus Pin
discreetz2-Oct-09 15:37
discreetz2-Oct-09 15:37 
AnswerRe: Stop app from stealing Focus Pin
Christian Graus2-Oct-09 15:40
protectorChristian Graus2-Oct-09 15:40 
QuestionASCII byte array to float Pin
akhanal2-Oct-09 11:44
akhanal2-Oct-09 11:44 
Hi,

Is there a way to get the values in a a byte array which are in ASCII format and convert them into float? Let me explain:

My byte array when a number(integer) 79 is put in it, looks like this:

bData[0] = 55;
bData[1] = 57;
bData[2] = 0;
bData[4] = 0;

I want to take this data (from bData[]) and put it in a float variable as:

float fData = 79.0;

Is there a way to do this?
Thanks
AnswerRe: ASCII byte array to float Pin
Abhishek Sur2-Oct-09 12:02
professionalAbhishek Sur2-Oct-09 12:02 
GeneralRe: ASCII byte array to float Pin
akhanal2-Oct-09 12:07
akhanal2-Oct-09 12:07 
GeneralRe: ASCII byte array to float Pin
Abhishek Sur2-Oct-09 13:10
professionalAbhishek Sur2-Oct-09 13:10 
GeneralRe: ASCII byte array to float Pin
Luc Pattyn2-Oct-09 13:27
sitebuilderLuc Pattyn2-Oct-09 13:27 
GeneralRe: ASCII byte array to float Pin
Abhishek Sur3-Oct-09 6:37
professionalAbhishek Sur3-Oct-09 6:37 
AnswerRe: ASCII byte array to float Pin
PIEBALDconsult2-Oct-09 12:03
mvePIEBALDconsult2-Oct-09 12:03 
GeneralRe: ASCII byte array to float Pin
akhanal2-Oct-09 12:09
akhanal2-Oct-09 12:09 
GeneralOne spoonful Pin
Luc Pattyn2-Oct-09 12:28
sitebuilderLuc Pattyn2-Oct-09 12:28 
GeneralRe: One spoonful Pin
akhanal4-Oct-09 9:38
akhanal4-Oct-09 9:38 
GeneralRe: One spoonful Pin
Luc Pattyn4-Oct-09 9:51
sitebuilderLuc Pattyn4-Oct-09 9:51 
QuestionAre these hard C# interview questions? Really?? [modified] Pin
ewan2-Oct-09 10:09
ewan2-Oct-09 10:09 
AnswerRe: Are these hard C# interview questions? Really?? Pin
Dave Kreskowiak2-Oct-09 10:27
mveDave Kreskowiak2-Oct-09 10:27 
GeneralRe: Are these hard C# interview questions? Really?? Pin
ewan2-Oct-09 10:31
ewan2-Oct-09 10:31 
AnswerRe: Are these hard C# interview questions? Really?? Pin
DaveyM692-Oct-09 10:35
professionalDaveyM692-Oct-09 10:35 
GeneralRe: Are these hard C# interview questions? Really?? Pin
ewan2-Oct-09 10:51
ewan2-Oct-09 10:51 
GeneralRe: Are these hard C# interview questions? Really?? Pin
PIEBALDconsult2-Oct-09 13:25
mvePIEBALDconsult2-Oct-09 13:25 
AnswerRe: Are these hard C# interview questions? Really?? Pin
harold aptroot2-Oct-09 11:38
harold aptroot2-Oct-09 11:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.