Professional Documents
Culture Documents
Float 2 Decimal Places
Float 2 Decimal Places
getInstance();
nf.setMaximumFractionDigits(2);
nf.setGroupingUsed(false);
// Setting this to true will give you xx,xxx,xxx type of formatting.
String formattedvalue = nf.format(adoublevalue);