var resultado = Number((31.71 * 2).toFixed(2)); print(resultado);
Standard input is empty
63.42
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!