public static CurrencySymbolPosition getSymbolPosition ( int value ) { CurrencySymbolPosition result ; switch ( value ) { case 1 : { result = CurrencySymbolPosition . AFTER ; break ; } case 2 : { result = CurrencySymbolPosition . BEFORE_WITH_SPACE ; break ; } case 3 : { result = CurrencySymbolPosition . AFTER_WITH_SPACE ; break ; } case 0 : default : { result = CurrencySymbolPosition . BEFORE ; break ; } } return ( result ) ; }
This method maps the currency symbol position from the representation used in the MPP file to the representation used by MPX .