Changing a number format

Hello,
How do you change a number format from double to pounds and pence. For example I have the number 27.85. I want to change it so it will read as ?27.85 OR ?27 and 85 pence?
Thankyou for your help in advance :)

are you just talking about printing the little pound symbol in front of the number?
If that's the case, you could just write something like this:
System.out.println("\u00A3"+ monies);where monies is your double (I'm not a brit, and I don't know if you folks have a pound symbol on your keyboards there).
If you know that with certain doubles that you will always be printing a pound symbol with them, you could always just write a method that will print whatever you have with a pound symbol in front of it.

Similar Messages

  • How do I change the number formatting within a Cell Table in Microsoft Word?

    Hi, I was wondering if someone could help me out on an issue I've been having... I work for an accounting firm and we do a lot of financial statements. 
    I was wondering if we would be able to treat a cell table in Microsoft Word 2007 like I would a cell table in Microsoft Excel. Meaning, I would like to change the formatting of the numbers in the table to the "Accounting" (number) format so it
    aligns by the decimal point and use the $ signs and () for negative numbers.  We do use the link tables feature, however, most of our balancing pages just can't be done in Excel because of the way the text is written. It would be much harder to format
    the text if it were to be typed in Excel. We have also tried  creating an Excel sheet within Microsoft Word but it is the same as linking the tables... Again, a text formatting issue.  The only option is to use tables within Word but how do we change
    the number formatting to a "accounting" (number) format where the numbers would align with the decimal point and use () for the negative numbers. Is there ANY option for us to do this other than manually entering this information in using tabs?  
    If there are no options other than entering it in manually, please consider this as an option for your next software update. I believe that a LOT of people out there will be interested in this feature... My manager and I just attended a webinar on Microsoft
    Advanced Word Tips Tricks and Techniques and 75% of the attending people had this question but no answer.
    Thank you very much for your help!!!!!

    Word does not really have number formatting for table cells. You can align cell contents on the decimal point, though, by setting a so-called decimal tab stop.
    Option 1:
    - Select the cells for which you want to do this.
    - Display the ruler.
    - Click the Tab box on the left hand side of the ruler until the box contains an inverted T with a dot.
    - Click in the ruler where you want the decimal tab.
    Option 2:
    - Select the cells for which you want to do this.
    - Click the arrow in the lower right corner of the Paragraph group on the Home tab of the ribbon.
    - Click the Tabs... button in the lower left corner of the dialog.
    - Specify a tab position in the box, e.g. 1.5".
    - Select the 'Decimal' radio button under 'Alignment'.
    - Click Set.
    - Click OK.
    You will have to type the numbers as they should appear, including the $ for currency and the ( ) for negative numbers.
    Regards, Hans Vogelaar

  • Has iOS 5 changed the number format somehow?

    Recently I tried to fill in some bank details of a client on my iphone and whenever I tried to fill in the sort code it kept removing the nought before any number, ie if I put in 35-05-06 it would put 35-5-6. Also, when I tried to put in the account no it kept adding commas after what it saw as thousands. I have never come accross this problem before and assume that the new ios5 update has caused this to happen. I have tried looking in settings to see if I can change the number format somehow but to no avail.
    I just wondered if anyone else had encountered this problem and found a solution. I would be most grateful to any suggestions.

    Dear Huntress.
    I had done all that but no use.
    Thank you so much for your response. Rgds.

  • Change Phone Number Format

    Can we change phone number format from "US" to "Australia" phone number format?

    And Dutch and Irish too, Please?

  • Can't change cell number format

    Has anyone else had a cell that you can't change the number format? I had a table with a sum and it was not including 3 rows that were stuck as 'text'. Changing the format did not stick. I ended up just filling the cells from the ones that were able to change to 'number'.
    Not a good feature for a spreadsheet!

    This is a design flaw that I consider a bug. It depends on the keyboard used to input the numbers. If you used the text keyboard (the one you get when selecting the "T"), the "number" you enter is text; you cannot change its format and it will not show up, for example, in a sum (it is treated as a null). Type the same "number" into the cell using the number keypad (the one you get by selecting the "42") and it is a number. This makes absolutely no sense to me but its the way it works. While I might be able to buy that a "number" being entered from the text ("T") keyboard is by default treated as text, changing the format to number should work. That it does not is something I can never buy.

  • How do I change the number format to the Indian-style comma separation?

    So the default mode for Numbers is obviously the American-style comma seperation
    ie. the number 123456789 will be displayed as: 123,456,789.
    Does anyone know how to change this to accomodate the Indian counting system?
    Specifically, to display 123456789 as 12,34,56,789.
    Thanks!

    Default language setting for Numbers will follow your System Preferences country setting. This will determine format for decimal separator. I've never checked for the Indian format in Numbers, but if your system country setting is India, you should submit Feedback to the Numbers Team via the Numbers menu and tell them about the mistake.
    Jerry

  • Change the number format

    Hi All,
    Please suggest how we can change the format of a number having -ve values.
    for example
    I have value -1500 output should be (15,00).
    Thanks in advance

    Hi,
    I am trying to convert add '-'ve sign to a field in the template, but unable to achieve it. I tried both ways as below but unable to get the result.
    1. <?format-numberCD_RECEIPT,"-,#,##0.00")?> ---by using this format it works fine for some values (302.42) but doesn't work for (1,074.58) value and recieve the below error msg
    Error: Caused by: oracle.xdo.parser.v2.XPathException: Cannot convert 1,074.58 to number.
    2. <?format-number:CD_RECEIPT;'-,999G999D99'?> --by using this the values are coming fine but doesn't assign a '-'ve sign infront of the number.
    Is something wrong witht he format. Please can any one help.
    Thanks!
    Darshini

  • During export from Discover to Excel, Time Format changes to Number Format

    Hi
    I have a seconds column which is of number datatype. But in my report, I am converting the number in *0HH:MI:SS* format. For example, I have *4952534 seconds*. So my report is showing *1375:42:14* which is a Time Format. It looks good when I view the data in Discoverer Viewer or Plus. But when I try to export the data to Excel, the time format gets converted to *4952534 seconds*, which is creating problems. So can you suggest on how can I preserve the formatting during export to excel from discoverer.
    Thanks
    Sachin

    Hi,
    Excel will not implement the 0HH:MI:SS data format, it just gets the field as a number. You will have to format the field into text using the calculation from my previous post.
    Rod West

  • How to change default number format for saved data in signalexpress

    I cannot find an option for determining format and precision of saved data. By default it is scientific with i think 3 siginificant numbers. How and where to do it?

    Stjepan, it sounds like you're right where I was 2 months ago! Glad to see I'm not the only one struggling w/ SE.
    Here's what I've had to do to control the precision of the data in my ascii file.
    Insert an Amplitudes and Levels step from Analysis>Time Domain Measurements.
    In the A&L settings, deselect Export RMA Value (keep Export DC Value selected).
    Now drag that DC signal from the A&L step into your data view (literally drag and drop this signal  onto the graph). From here you can configure the data view's properties to your likings, I.E, significant digits or digits of precision, floating point, etc.
    I've found that Floating Point,  2 Significant Digits, and uncheck Hide Trailing Zeros to work well (visually speaking).
    Insert your Save to ASCII step after the A&L step, and be sure to save your A&L's DC signal.
    The data will export exactly as it's shown in the display.
    TIP: you can rename your signals from any of the steps. This is handy because it's the renamed channel names that show up in your data headers (much more descriptive when you have multiple channels).
    My apologies if this is all information you already know... 
    Message Edited by OKors on 09-10-2009 10:27 AM
    SCXI- 1000 Chassis w/ 1346 adapter
    PCI 6281 DAQ card
    SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
    SCXI- 1180 Feedthrough Panel w/ 1302 Block
    Signal Express 2014.
    Win7 Enterprise

  • How do I change a number that was international back to UK number so it permanently recognises it as UK not international? I've tried delete, reset factory settings, change the format of the number etc and nothing seems to work. Help!

    I recently moved back to the UK and bought my iphone 4 with me. It is unlocked and works on the new contract that I have set up here in the UK. The problem I'm having is that some of the UK numbers that I had already had on the iphone in Korea as international UK numbers will now not work as they are still coming up as international numbers. This means it is costing me a lot to message or call these numbers. I have tried changing the number format various ways, deleting the numbers (although it still seems to remember them), resetting the phone, restoring the phone.
    How can I succesfully change these numbers?
    Any UK numbers I have added since changing the contract are working fine.
    Thanks!

    Do you happen to have Dial Assist on? This is in Settings>Phone. This is what helps the phone identify international numbers when dialing, based on location. See if turning that off/on makes a difference. Unless you are making a number of international calls, I believe this can be left off. See the User Guide http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf  Page 49 has info regarding Dial Assist.

  • How to change number format to international setting

    Hello everyone,
    I need some help on how to change the number format on my phone from the standard US format to an international format with no spacing between the numbers. Currently, my numbers appear as: 0706 343 3456. However, I will like for it to appear as 07063433456. When i recieve calls, the number format is not recognised and I cannot tell who is calling. Same goes for SMS messages. In this part of the world, the number format is not spaced, which is quite frustriating.
    Can anyone please advice me on how to go about this.
    Thanks

    Really? I tried that but it did not work. I restarted the iphone several times but the number format did not change.

  • How to change number format in web reports

    Hi, Experts,
        Simple question, if I want to change the number format on web report as following
    . . . . . . . . Actual
    . . . . . . . . *1000SGD 
      new order   .   341.5
      sales       .   567.45
    if I click "Actual" then select properties, set data format from "in 1000" & "0" to "in 1" & "0.00", nothing changed in web report after refresh.
    if i click one number (for example: 341.5) or "New order" to set data format from "in 1000" & "0" to "in 1" & "0.00", only this row's format is changed, others row still keep old format.
    how to change whole column's data format at once setting?
    thanks in advance.
    Message was edited by: jie miao
    Message was edited by: jie miao

    Hi,
    Logout and login may help you and also Delete the session in SM04  before re login. Some times system will not do complete refresh of data even though you select refresh button.
    With rgds,
    Anil Kumar Sharma .P

  • I am trying to change the page number format in a section of my document.  I want 2 sections to have 2 different page number formats.  How can I do this?

    I have 2 sections in my Pages document.  I am using Insert Auto Pages in footers to number my pages, but when I try to change the number format for one section it changes the format to the same as my change for the other section.  I want auto page number in each section but want each section's page numbers to have different formats. I have managed to get the auto page numbering to begin separately in each section, but just can't get the formats to be different.  There must be a way to do this.  Anyone know how?

    You look on the right edge of this page in the box entitled [More Like This].
    The dumb machine was able to find threads containing available answers .
    Using the Search feature with a simple request like
    page number AND format AND section
    would have give these links without opening a new thread.
    Yvan KOENIG (VALLAURIS, France) samedi 28 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • Phone number format edit

    Hello everyone, i have a problem with my iPhone 4S. I'm from Romania so it's not a verizon problem only... When a person in my contact list is calling me it only shows the numer of the caller not the ID, but after i hang-up and go to call history it shows the ID. I tried to put +4 in front of the number but now when someone is calling it shows the ID but in call history it shows the phone number. The phone is Jailbroken so if there is any solution what requires a jailbroken phone i am happy to try it out. The format region is on Romania and the International Assist is OFF. I tried as many things i could find on the internet about this but still can't figure it out. Can you guys help me? My firmware is 5.1.1 and i DON'T want to upgrade to 6 because i use a gevey sim card to unlock it, so anything else that can help ?

    Thanks, indeed. I had my Phone language set to "English (United States)" . I never thought that this would change the number format. I changed it to English and now it's ok.
    + it stopped with that annoying correction while i'm writing text.
    So double thanks
    Attachments:
    wp_ss_20130524_0002.jpg ‏71 KB

  • Broadcaster - PDF Output: number format

    dear gurus
    Where do I find the setting to set the display format for numbers of a PDF report sent with the BEx Broadcaster?
    I'm currently setting up a lot of reports on our new BI installation. Most of these reports are sent in Excel (XML) format. When the user opens such an Excel file, all the numbers are displayed in the correct format.
    eg. 1'000'000.00
    (swiss-german format)
    If I send the same report as PDF I get some (well, for me) wired format
    e.g. 1,000,000.00
    or 1 000 000,00
    As far as I understand this, in Excel it seems to take the local user settings on the computer for displaying numbers an such. Since the PDF is generated on the server, the generator takes the format available (or set) on the server.
    Tomorrow morning there will be a guy from the BASIS in our company. I'd like to have a clue what to tell him and how to make the PDF generator take our number format.
    - dan

    Hi Vineet
    Thanks a lot for this advice. I did already test that by changing the number format in SU01 to different values. I did change that for the user which is set as permission holder for the query and also for the user that is set as broadcast sender. I have following options to set
    1.234.567,89
    1,234,567.89
    1 234 567,89
    All three settings did not have any impact to the report. The number format did not change. Furthermore there is no option for the desired format:
    1'234'567.89

Maybe you are looking for

  • Open website and open new website not working in VS 2008

    Sir i was using VS 2008 and made lot of work on it. but one day i tried to open my existing asp.net web . it didn't open . i repaied the VS 2008 with DVD and still it is not able to open existing web , new web I am a System Administrator at Vadodara

  • I'm working with Illustrator CS5 and am having trouble with basic graphics textures.

    I'm working with Illustrator CS5 and am having trouble with basic graphics textures. The illustrator drawings look fine with the pattern fills and when I bring the drawing into quark 9.1 they are still fine. When I print the quark file to lo res pdf

  • Installing Python Idle

    I'm an aerospace engineer and I just want to use Python to crunch numbers as a cool freebie Matlab alternative. I don't want to learn Java so I do not need or want any of the Mac OS cocoa hooks. I do need numpy and matplotlib. Xcode 3.0 has no simple

  • Vhd and Vhdx corrupted

    Hello, I have two servers Hyper-V 2012R2 connected to a new SAN (powervaul NX3200). I started to move my virtualmachines to the new SAN. I have now ten virtual machines on the SAN (about 40% of my virutelles machines) others arelocally on the servers

  • Corrupt datablock of datafile reside on RAW devices

    Hi, I want to check BOLCKRECOVER for corrupt blocks on datafiles reside on RAW devices. Is there any tool/command tp corrupt datablock of datafile reside on RAW devices? Thanks,