Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   small doubt regarding conversion (http://www.go4expert.com/forums/small-doubt-regarding-conversion-t10198/)

Shilpa1 23Apr2008 16:19

small doubt regarding conversion
 
Code:

float f = 15.95;
//Here i want to print the output as 1595

How to do this?

raj_poorni0909 23Apr2008 21:28

Re: small doubt regarding conversion
 
either multiply f by 100.Or let know to which u want to convert


All times are GMT +5.5. The time now is 08:37.