Existing constant definitions for $, €, etc

Are there existing constant definitions for symbols like $ and €?
such that I could refer to them like:
String myString = SomeClass.DOLLAR_SIGN + myDouble;

Open in new window

Either in Java proper, or another API like Apache Commons.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Maybe all you need to do is something similar to this.  This is pseudocode, but you may be able to get what I mean here.

String myString = char(36) + myDouble;

String myString = char(128) + myDouble;

36 would be $
128 would be €

This function I put in is just something pulled from MS Office, but there probably is something similar in what you are programming with.

Are you able to just simply put "$" + myDouble in your code?
Evan CutlerVolunteer Chief Information OfficerCommented:
You can use an ENUM:

public enum CurrencyType {
    Pound, Dollar, Lyra, Sheckel }
public class EnumTest {
    Day day;
    public CurrType(Currency Type Money) {
        this.Money = Money;
    public void MoneyIsFun() {
        switch (Money) {
            case Pound:
                System.out.println("<insert ASCII Symbol here>");
            case Dollar:
                System.out.println("<insert ASCII Symbol here>");
            case Lyra: case Sheckel :
                System.out.println("<insert ASCII Symbol here>");
                System.out.println("<insert ASCII Symbol here>");
    public static void main(String[] args) {
        EnumTest firstCash = new CurrType(Money.Dollar);
        EnumTest thirdCash = new CurrType(Money.Pound);
        EnumTest fifthCash = new CurrType(Money.Sheckel);
        EnumTest sixthCash = new CurrType(Money.Lyra);

Open in new window

This way you can assign more stuff to it, and do more things.
Hope it helps.
Evan CutlerVolunteer Chief Information OfficerCommented:
Here's a link to what I'm talking about: http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.