import java.text.*; public class Numbriformaat2{ public static void main(String argumendid[]){ DecimalFormat df=new DecimalFormat("0.00 kr;puudu # kr"); System.out.println(df.format(-5.7362)); System.out.println(df.format(5.1)); System.out.println(df.format(14)); } }