1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

small doubt regarding conversion

Discussion in 'C' started by Shilpa1, Apr 23, 2008.

  1. Shilpa1

    Shilpa1 New Member

    Joined:
    Nov 8, 2007
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    Code:
    float f = 15.95;
    //Here i want to print the output as 1595 
    How to do this?
     
  2. raj_poorni0909

    raj_poorni0909 New Member

    Joined:
    Apr 22, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    either multiply f by 100.Or let know to which u want to convert
     

Share This Page