Trouble with international formats. Converting and storing in database.

Back again!
This time, I've got my app working as it should. I extract strings of information from a file, and store them appropriately in a database. Some of the data I cast to double as they are money values. The problem is this:
I'm storing the data in an access database. I need one of the values to be in European format. That is, using commas for decimal points and vice versa. Eg: $3.20, would become E3,20. (Don't know the shortcut for the Euro symbol).
I can't change swap commas to demimals points and THEN cast to double, because double wants american standard numbers. So how do I, or is there another way, to store the value in the database as:
E3,20 and not E3.20...??? I've changed the type in the access database column to Euro, so I get the Euro symbol...but if I put in a decimal, it stays a decimal.
Any ideas???
Thanks again.
...DJVege...

OK! And I'm lost again!!!! :-( Sorry, my bad!
Now, I've formatted the values perfectly in Java. But
unless I keep the type of column in Access as text,
they don't transfer over properly. If I keep them as
number, then only the numbers come over etc...If you have the numbers in Access as number and you can format numbers in Java then what is your problem? Without showing your code I (an most other non-mindreaders) don't have a chance. How are you getting the values form the Access database?
>
Also, do you know the custom format i need to use, so
that, even if I keep the column as text, Thjis does not make sense? I showed you two examples. What do you want in the way for format that they don't give.
it will
stick a � sign in front of it??? I don't understand! Show your code.
I figure, I'll just
stick to the text field, So you want to bodge it and leave the problem to someone else to deal with later on!
but somehow I need to stick
a � sign in front of it for display purposes.I have shown you how to format the numbers! I have suggested that the Euro symbol Unicode can be found using Google (it took me less than 30 seconds). What more can I do other than write the whole of your code for you?

Similar Messages

  • Trouble with Adobe dng converter and 5d mark iii

    I have recently downloaded the dng converter 6.7 to convert my cr2 files from my 5d mark iii, however it keeps on telling me i have no files to convert, is there anything i can do about this? i am using elements 10

    Test with the new 7.1 DNG converter:
    Windows: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5389
    Mac: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5388
    See if that changes anything. If not, we'll want to take a look at one of your files to test.

  • I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to my laptop.

    I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to itune.

    You can't. It still thinks that your iPhone is synced with another iTunes library (the one that you had before you reformatted the hard drive.

  • Can i use iCloud keychain with my own passwords and not with what is assigned and stored?

    Can i use iCloud keychain with my own passwords and not with what is assigned and stored?

    tammersalem wrote:) <-HDMI-> (HDTV)
    My main concerns are:
    -If I use iTunes on my main computer, will it then be available to Apple TV?
    -If I use Apple TV to download will it be available to my Main computer?
    -Can the Apple TV use a media server for storage over LAN (using NTFS Samab or otherwise)?
    Basically iTunes feeds AppleTv with media either syncing (copying to it) or streaming live.
    Media must be compatible with AppleTV.
    AppleTV requires a proper iTunes instance running - it cannot access a NAS directly.
    If you store media in a folder on a NAS and it's part of the computer iTunes library (just stored on the NAS vs internal/external drive), then when running iTunes makes this content available to AppleTV.
    Data will travel:
    NAS > network > iTunes > network to AppleTV
    As the path is potentially slower than internal/external attached drive > iTunes > network > AppleTV, it may or may not work robustly for streaming.
    If AppleTv is set to sync (it can also stream in this mode), when you purchase direct on AppleTV, the media should sync back to where the itunes library is stored (via iTunes) to keep things in sync and to allow you to backup the media.
    You cannot drag/drop media to/from AppleTv across the network, nor can it directly access storage itself - iTunes is an essential cog in the wheel.
    The majority of commercial 'in-built iTunes media servers' will not work directly with AppleTV as it has to be 'paired' with iTunes by entering a numerical code in iTunes and does not simply see 'shared libraries'.

  • When I send open office documents to a PC user (even saved and sent in the word format), the document reaches with serious format changes and is rendered unusable to the PC user. How to overcome the problem??

    When I send open office documents to a PC user (even saved and sent in the word format), the document reaches with serious format changes and is rendered unusable to the PC user. How to overcome the problem??

    I don't use OpenOffice (I have it on my internal just to play around with, but seldom even open it). I do use MS Word and have few problems sharing files - it's usually a font issue so I tend to use MS fonts for documents that I know will need to be shared.
    Unless you need to make collaborative changed to the document, you could always save it as a pdf file. With Acrobat Pro you can even save a pdf file to a Word document with very little change in formatting.
    If I were you - and you have a need for .doc or .docx files to travel and play nicely - I'd just invest in MS Office. If you don't have to send a Word file, try pdf.
    Clinton

  • I am having trouble with the Jpeg icons and also now thumbnails not being visable in bith teh Apple finder and now also Adobe Bridge. Can anyone shed any light on this ?

    I am having trouble with the Jpeg icons and also now thumbnails not being visable in bith teh Apple finder and now also Adobe Bridge. Can anyone shed any light on this ?

    Argh - once again, I find my solution right after posting this. Left out one modification to the SWIG script, now it runs in 29 seconds vs C 16 seconds, I can live with that.

  • Trouble with iMovie '11 transitions and themes? I'm running Lion, Mac OS X and just noticed today that the transitions and themes don't seem to be working at all when I start new projects or try to add to old projects.  What is the solve here?

    Trouble with iMovie '11 transitions and themes? I'm running Lion, Mac OS X and just noticed today that the transitions and themes don't seem to be working at all when I start new projects or try to add to old projects.  What is the solve here?
    I've seen notes about clearing the cache but it seems that this is an older OS and I can't find the plist mentioned here because it's an older system.  http://www.youtube.com/watch?v=2cL9RuDV3Qc 
    Thoughts?  Anyone? 

    GUYS, I NEED HELP !
    ANYONE?

  • Having trouble with pop-up windows and ads for MacKeeper

    I've been having trouble with pop-up windows and ads for MacKeeper and similar "services." Tried to download "MPlayerX" a week ago and it all started then. I thought I deleted the file but I'm still having trouble. I've been digging for solutions on here, but nothing I've found on here has worked yet--the VSearch stuff (I think) isn't on my hard drive. Any advice?

    You installed a variant of the "VSearch" trojan. Remove it as follows.
    This malware has many variants. Anyone else finding this comment should not expect it to be applicable.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.venus.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.venus.daemon.plist
    /Library/LaunchDaemons/com.venus.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/venus
    /System/Library/Frameworks/v.framework
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • I'm having trouble with my sound up and sound down keys. They're doing other functions. This is only a new thing.

    I'm having trouble with my 'sound up' and 'sound down' keys. They're doing other functions. This is only a relatively new thing.

    You didn't mention what those "other functions" were.  That might help!
    First thing to check is System Preferences > Keyboard > Keyboard tab - make sure "Use all F1, F2, etc. keys as standard function keys" is un-checked.  Hopefully that still works in Mountain Lion.

  • Having trouble with getting on messages and facetime

    having trouble with getting on messages and facetime.  Got two new ipods, one works fine, the other keeps giving us the error: iMessage Activation Could not sign in.  Please check your network connection and try again.  We have tried to reset the factory settings, and verified that the internet is working.  Please help!

    FaceTime, Game Center, Messages: Troubleshooting sign in issues

  • HT4623 Anyone having trouble with App Store install and cloud store buttons not working after 6.1 update?

    Anyone having trouble with App Store install and cloud store buttons not working after 6.1 update? I go to install an app. I hit install and nothing happens. About a minute later it asks me for my password and then it does nothing. The install button goes back to saying install. However the app shows up in my installed list and in cloud but no app installed.

    OK - I found a helpful post - closed app store app and under Settings/General/Date and Time I reset the date and time by switching off "Set Automatically" and then switching it on again. Went back to App Store, launched it and Updatesseems to be working again.
    Go figure? Logical, No!

  • HT5621 I am having trouble with my Apple ID and AppStore Here are the steps I have taken and the results: 1.     Changed my Apple ID with new email address. 2.     Changed my iCloud with above new email address. 3.     NOW - Apple ID appears correct in Ap

    I am having trouble with my Apple ID and AppStore
    Here are the steps I have taken and the results:
    Changed my Apple ID with new email address.
    Changed my iCloud with above new email address.
    NOW - Apple ID appears correct in AppStore Settings, iCloud and AppStore*
    If I scroll to bottom of screen in *App Store/Featured, I can see that the Apple ID is my new email.
    Upon “updating” Apple ID reflects OLD email.
    Deleted accounts, re-added accounts.
    Signed out and signed in with new UN/Email
    Issue remains the same.

    To migrate your data to a new iCloud account go to Settings>iCloud and turn off all synced data (contacts, calendars, etc.), when prompted choose to keep the data on your phone.  After everything is set to off, scroll to the bottom and tap Delete Account.  Next, create the new iCloud account on your phone and turn on syncing for contacts, calendars, etc again.  If prompted, choose Merge.  This will upload your data to the new iCloud account.

  • Trouble with internal keyboard and touchpad

    Hi,
    Yesterday I just out of nowhere started having some trouble with my keyboard and touchpad on my MacBook Air.
    The problem displayed itself on various ways. One thing was that I couldn't press regulary with the touchpad. When I was pressing one time, it acted like a pressed with two fingers. When I tried to type in my password on the administrator page, some of the keys didn't work at all and some started to act weird. For example when I was pressing the letter B, the "bar" which displayes where you are in the text (don't know the word in English) went backwards, and when I pressed the letter F it went forward. This seemes so weird and also gives me a hope that it might be some setting failure though B stands for backwards and F stands for forward.
    I could log in to the guestpage where I tried to write in "notes". In notes, no letters at all was working, only numbers. When I tried to shut the computer down from the apple symbol I was asked to write administrator name and password. When I tried to mark the name to write it, there wasn't a "bar" but a cross, but on the other hand did it work to write in the password field. But of course not B and F..
    Usualy I'd just press the on/off botton until the computer lockdown, unfortunately the botton doesn't work. So the only thing I could do was to let the battery die and hope that it would start when I recharged it and pressed start, this didn't go as well as I hoped, so now I'm stuck with a dead macbook air.
    Any ideas of what could be the problem or/and any solutions what might do the trick?
    Extremly greatful for any answers

    Yes you need to use a wired keyboard.

  • Trouble with flickering after converting AVCHD files to Apple Pro Res 22

    Hi guys.
    I have figured out that Apple Pro res 22 is the best format for my AVCHD files.
    But I am having trouble with the files after converting them to this format.
    Every 60 frames I have a blurred frame.
    This results in a flickering effect when watching the clip.
    The original MP4 clip (AVCHD) plays fine on the Mac but when I convert is it flickers.
    I have captured a still shot of the frame here
    http://www.willpower.net.au/DOWNLOADS/FrameError.jpeg
    Here are the settings I am using for the conversion
    http://www.willpower.net.au/DOWNLOADS/Error.JPG
    Here is the converted file in Apple Pro Res 22 format with the flickering
    http://www.willpower.net.au/DOWNLOADS/SANY0007.mov
    I'd appreciate any help that you can offer.

    Actually I think I might have found the answer.
    After diggin deaper into the camera manual I have discovered that the setting I had it on "Full HD" actually is interlaced not progressive. Even though tha badging on the camera says Progressive"
    So I think something got lost when converting the files to apple pro res.
    I just shot a 10 sec clip on "Full HR" which is the progressive function and it converted nicely.
    I'll come back to this post after shooting and making a little test movie today.
    Thanks for your help.
    PS. I wonder what codec it actually shoots in. Apparently it is not AVCHD but MPEG-4 AVC/H.264 compression (I thought that was AVCHD)

  • Trouble with date format

    Hello,
    i need some help with date formats. I am using JDeveloper 11g and am trying to write some SQL commands.
    When i enter the following, everything is working correctly.
    ResultSet query = st.executeQuery("select * from DB.TABLE where DATE > '01-01-2000'");
    I need to make it work so that date can be used from a jtextarea.
    String inputData =jTextArea1.getText();
    ResultSet query = st.executeQuery("select * from DB.TABLE where DATE > " +inputData);
    Query does not return anything.
    Do i need to convert the value of inputData? What other problems could there be?
    TY
    Edited by: user10956166 on Apr 1, 2009 4:08 AM

    Correct. Oracle will implicitly convert the date as shown below (see Predicate Information)
    SQL > explain plan for select * from test where modified_date > '01/01/2008 12:00:00';
    Explained.
    SQL > select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3461732445
    | Id  | Operation         | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |       |   677 |   105K|     6   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| TEST  |   677 |   105K|     6   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("MODIFIED_DATE">TO_DATE(' 2008-01-01 12:00:00',
                  'syyyy-mm-dd hh24:mi:ss'))Don't forget to use parameterized queries (a.k.a. bind variables)!
    HTH!

Maybe you are looking for

  • Refreh of a materialized view!

    Dear All, My Oracle Database is 11gR1 and Linux is the OS. What I am trying to achieve by creating materialized view logs and materialize views is, that as soon as there is a change in materialize view log (master table) on remote site, the materiali

  • How do I add a new folder in Mail

    I only have the usual inbox, drafts & deleted folders in my mail box.  How do I add more folders to allow me to manage my mail?

  • No image

    I have an HP media center m8000 PC when i turn the computer on there is no beeps but the main problem is when i plug in a monitor there is nothing also that goes for the hdmi plug all the fans are working including the video card so i didnt think any

  • BTHF currency problem

    In Bank Statement Processing I do not find a way to match lines with documents, or to make an external reconciliation if the bank statement line and the BP currencies are differents. When I am choosing such a customer, its documents do not appear. No

  • CS4 Crash

    I have had a problem with CS4 crashing.  It does not happen at the same point of operation but it does it often.  I thought I had resolved this problem recently when I discovered corrupted RAM I have replaced it.  Here is the latest crash report. Any