Question: I write C code with visual studio 2008.I want to place varibles "inside" the code.Like this 

```
 int   main()
{
    foo();
    int i;
    foo(i)
    return 0;
}

```

Can I do it ?
For now this generates compile errors,despite that I compile it with /Tp option

Answer: 
You can use 

```
NumberFormat decimalFormat = NumberFormat.getFormat(".##");

```

from GWT library which will render for example 1234.789789 to 1234.78

You can find a full working example here: <http://gwt.google.com/samples/Showcase/Showcase.html#!CwNumberFormat>
In current GWT (2.5, 2.6), there is now:

```
private final NumberFormat numberFormat = NumberFormat.getDecimalFormat();

System.out.println(numberFormat.format(myFloat));

```

Edit: added GWT versions per request