6 Replies Latest reply: Dec 20, 2006 5:48 PM by 807599 RSS

    decide the number o decimal houses in a decimal number

    807599
      hi,
      I want to print a double but if I use toString i'm not able to do what I want that is something like this in c language:
      printf("%2f",var);
      which is if I have 1,42352424554 I want to print just 1.42.


      how can I do that?

      Thanks