Skip to content

Instantly share code, notes, and snippets.

View andrewmd5's full-sized avatar
💭
🖤

Andrew Sampson andrewmd5

💭
🖤
View GitHub Profile
@andrewmd5
andrewmd5 / IntegerToEnglish.java
Created February 3, 2014 07:34
Translate an standard arabic integer into an english word
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;