Here you can find the source of doubleToStrFormatado(Double valor)
public static String doubleToStrFormatado(Double valor)
//package com.java2s; //License from project: Open Source License import java.text.NumberFormat; public class Main { private static NumberFormat nf; public static String doubleToStrFormatado(Double valor) { return nf.format(valor); }/* w w w . j a v a2 s . c o m*/ }