This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CVSFormat { | |
public static void main(String[]args)throws IOException { | |
// construct temporary file | |
File inputFile = new File("statements.csv"); | |
File tempFile = new File(inputFile + "temp.csv"); | |
BufferedReader bufferReader = new BufferedReader (new FileReader("statements.csv")); | |
PrintWriter printWriter = new PrintWriter(new FileWriter (tempFile)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
import java.util.logging.Logger; | |
public class IntegerToEnglish { | |
private static final String[] LARGE = { "", "", " Hundred", " Thousand", | |
" Million", " Billion" }; | |
private static String length; | |
private static final Logger logger = Logger | |
.getLogger(IntegerToEnglish.class.getName()); | |
private static int number; |
NewerOlder