tags:

views:

41

answers:

1

Except sprintf is there any method for obtaining same? Please give an example with some explanation actually what problem i am facing is that i can't get decimal point on hyperterminal with sprintf

A: 

That is because sprintf puts the result into a string. You should use plain old printf instead, which prints it to stdout:

printf("%f", 1.234);
Delan Azabani
actually my hardware dont support print statement do you have any via media for this problem
stranger