private String getCurrencyFormat ( CurrencySymbolPosition position ) { String result ; switch ( position ) { case AFTER : { result = "1.1#" ; break ; } case AFTER_WITH_SPACE : { result = "1.1 #" ; break ; } case BEFORE_WITH_SPACE : { result = "# 1.1" ; break ; } default : case BEFORE : { result = "#1.1" ; break ; } } return result ; }
Generate a currency format .