Formatting Numbers with BPC NW 10.0 SP19 1 in Microsoft Word & PowerPoint 2010

Dear BPC Experts,
We are trying to use the BPC Add-in for Microsoft Word and PowerPoint; however, we cannot figure out how to get the numbers in a report properly formatted.
I created a report directly in Word:
Then, on the EPM Ribbon I attempted to go to Options>Document Options and use the Formatting tab Number Format field and received the popup:
Error details:
I Copied a report from the Excel Add-in Report Actions>Copy Report to PowerPoint Report Actions>Paste Report but the number formatting is lost and I get the same error as with Word if I attempt to use Options>Presentation Options.
Any assistance with number formatting with the Word or PowerPoint Add-ins would be greatly appreciated.
Thank you,
Lisa

Hello Lisa,
Its simply saying that the both formats are different so its unable to apply the formatting.
in order to apply formatting in Word we have a special tab Design.
first create a report and then next go to design tab and choose any one of the default formatting table.
the formatting should be vary dynamically. please see the below images as reference.
Before formatting report looks like this
After Formatting by using design tab
Dynamic expansion
I feel its little bit difficult when compared to excel...
Regards,
Saida Reddy G

Similar Messages

  • Can i format numbers with spry?

    Can i format numbers for display with spry? I've got a number
    field and want to put commas in for thousand seperators and also
    need to pad some numbers with zeros....kinda like numberformat()
    really in CF, else i guess I have to do it with in my data
    preparation,
    thanks,
    john.

    Hi John,
    So if I were going to make this work with your XML, I would
    create a custom column on the fly after the data was loaded. This
    custom column would strip the formatting and convert the resulting
    numbers into real numbers. Also, for any rows that had nothing, it
    would stick a zero in this custom column.
    Then when it comes time for sorting, you sort on the custom
    column instead of the formatted one.
    Look at this example. It shows you how you can create custom
    columns:
    http://labs.adobe.com/technologies/spry/samples/data_region/CustomColumnsSample.html
    --== Kin ==--

  • Adding Company Knowledge with OpsMgr 2012 Console - "Failed to launch Microsoft Word"

    Hi everyone!
    I'm trying to add company knowledge using the OpsMgr 2012 console (32-bit) on Windows 7 Ultimate (32-bit) using the guidelines provided at the following link...
    http://technet.microsoft.com/en-us/library/hh212900.aspx
    I'm using Office 2010 Pro Plus SP1 (32-bit) with the .NET Programmability feature and the Microsoft Visual Studio 2005 Tools for Office Second Edition Runtime installed, but I get the dreaded "failed to launch Microsoft Word" error...
    ...any help or guidance would be greatly apprecaited!
    Regards,
    JJ

    Thanks Andres!
    I have confirmed that the following instructions does allow you to use Word 2010 32-bit running on Windows 7 64-bit or Windows Server 2008 R2 to edit company
    knowledge...
    1. Go to the directory where the OpsMgr console is installed (example: C:\Program Files\System Center\Operations Manager 2012\Console )
    2. Make a copy of Microsoft.EnterpriseManagement.Monitoring.Console.exe.config
    3. Edit Microsoft.EnterpriseManagement.Monitoring.Console.exe.config using Administrator rights
    4. Search for “</dependentAssembly>” and remove the “<publisherPolicy apply="no" />” line immediately following the “</dependentAssembly>” line
    Hope this helps!
    Regards,
    JJ
    Well, firstly I have to agree with other people's comments along the lines of "It shouldn't be this hard!", but I can happily say that the solution above (by IM5FOOTNOTHIN)
    worked for me...once I noticed this crucial footnote: "Do this for
    ALL instances of the
    <publisherPolicy apply="no" /> line that immediately follow the </dependentAssembly> line"

  • Format numbers with leading zeros

    Hi,
    Im returning the time as a string from a function like so
    return minutes + ":" + seconds + ":" + millisec;
    But I need each part to always display with two digits and
    show leading zeros.
    Can anyone tell me how
    Thanks

    Thanks NedWebs
    I have done this
    var minstring = minutes.toString();
    var secstring = seconds.toString();
    var millistring = millisec.toString();
    if( minutes < 10 )
    minstring = "0" + minstring;
    if( seconds < 10 )
    secstring = "0" + secstring;
    if( millisec < 10 )
    millistring = "0" + secstring;
    if( millisec < 100 )
    millistring = "0" + secstring;
    return minstring + ":" + secstring + ":" + millistring;
    Thought there must be a better way.
    But it works!

  • Format numbers with commas and dollar signs

    I've searched documentation and I do not see how to add a $ (dollar sign) to a number and how to add a comma after 3 digits.
    for example  $32,000.00
    Thanks in advance

    Hello ..
    In PLD is this possible, but also about the issue of setting up your database. If you set the currency as $ Dollar then you will see it as such in print. The same with the insert.
    If the dollar had another name, then you can concatenate a text field indicating $ with a formula field to extract the coin value you wish to view.
    Hope this helps
    Yours sincerely,

  • Does Boot Camp come with Microsoft Word, PowerPoint etc?

    I would like to install Boot Camp on my MacBook Pro with Retina Display (it comes with Boot Camp Assistant). I was wandering if Boot Camp has Mircrosoft Office and all the other ones? That is the only reason I really need to download. Help would be much appreciated.
    Thanks

    Nope MS Office is not included with Boot Camp. A copy of Windows isn't included either. So you'll need to buy either or both depending on your needs.
    Boot Camp just helps you install Windows  on your Mac. That's it. The copy of Windows, you need to buy or own already.

  • My 2004 version of Microsoft Word, Powerpoint and Excel aren't compatible with Lion.  What are the alternatives?

    Do I upgrade my Microsoft Office Suite or purchase the latest iWork?  Wish I hadn't switched to Lion.

    Yes, unfortunately the Lion installer doesn't forewarn you that this will happen and unless you're a total Mac-head who keeps up with the Apple news, you may not have been aware of it.
    You have the option of going back to Snow Leopard, or going with one of the options suggested by Niel.
    I wouldn't myself recommend iWork, mainly because it now comes with Lion's new Autosave/Versions feature, which is a whole new nightmare on its own. Luckily (for me) I have an old version of iWork that doesn't save anything unless I tell it to.
    But I'm personally very happy with Office 2008, which I think is better than Office 2011. So it isn't only Apple that releases new versions of things that are worse than the previous version (which is what I think of Lion).
    I went back to Snow because at the moment Lion isn't helping me get my work done - it's strewing obstacles in my path.
    If you get Office 2008 it will run on both Snow Leopard and Lion.

  • Microsoft Word-Table of Contents-Update Page Numbers

    I am having trouble updating my page numbers within the Table of Contents in a Microsoft Word document. On a Windows machine, I would click to the left of the table and then click F9. On an Apple, that adjusts the brightness of the screen or modifies the screen if I accompany the F9 with the Apple or Function button. Does anyone know how to update the page numbers without creating a new Table of Contents?
    Lisa

    In Mac OSX it is possible to change or create keyboard shortcuts for all applications as well as the system itself.
    Go to +System Preferences > Keyboard and Mouse > Keyboard shortcuts+
    Select the menu item for whatever application, in this case Dock, Exposé and Dashboard, click on the keyboard shortcut and change it to whatever you would like.
    It will then work the next time you launch the application. If it is a menu item the name of the shortcut must match the menu name exactly.

  • Application Express 3.1 + BI-Publisher + problem with formating numbers

    Hello together!
    I use the Oracle BI Publisher Template Builder for Word (10.1.3.4) to generate RTF-Templates. I upload these templates in Oracle Apex (Advanced support-->BI-Publisher/OC4J as print service).
    It works well, but I have a problem with formating numbers.
    In Template Builder I define following number formats, for example: #.##0 for numbers like 1.454.234 and #.##0,00 for numbers like 54,80
    In Template-Builder Preview it looks well.
    But whatever I do, in use with Oracle Apex dots and comma are allready interchances in the printout.
    That means,
    1.454.234 become 1,454,234 in PDF-Report
    54,80 become 54.80 in PDF-Report
    Other than that, the layout is exactly the same like in Template Builder defined.
    What's wrong?
    Do I have to change any country parameter?
    Juliane

    I also had the same problem. I tried with normal formating of 99g99g999d99 instead of ##,##,##0.00 and it has resulted correct way.

  • Need help with formating numbers

    public void returnDollars()
              double dollar;
              dollar=amountr-amount;
    NumberFormat fmt = NumberFormat.getNumberInstance();
              System.out.println(fmt.fomat(dollar));
    there is my code.....now lets say
    amountr = 10
    amount 8.5
    now when i print my dollar amount i want it to show up as 1 not 1.5 or 2. So in other words format it with no decimals and not round up at the same time.
    Help would be appriciated...thanks

    well...after 8 hours of trying to get it working i did it.....here it is ...........I'm sure there are many ways to make it smaller.
    import java.text.*;
    import java.io.*;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.IOException;
    public class Cashier
    double amount;
    double amountr;
    double dollar;
    double amountleft;
    double quaters;
    double test;
    double dimes;
    double pennies;
    public void getAmount()throws IOException
         BufferedReader console = new BufferedReader(new InputStreamReader(System.in));
              System.out.println("Please enter amount due:");
              String input = console.readLine();
         amount = Double.parseDouble(input);
    System.out.println("Amount due = " + amount);
         public void recieve()throws IOException
    BufferedReader console = new BufferedReader(new InputStreamReader(System.in));
              System.out.println("Please enter amount recieved :");
              String input = console.readLine();
         amountr = Double.parseDouble(input);
    System.out.println("Amount recieved = " + amountr);
         public void returnDollars()throws IOException
              double check = amountr-amount;
              dollar=amountr-amount;
    DecimalFormat fmt = new DecimalFormat("##");
    String s = fmt.format((double)(long)dollar);
    double d = Double.valueOf(s).doubleValue();
    amountleft=check-d;
         System.out.println("Dollars to return " + s);
    public void returnQuaters()
         quaters= amountleft/.25;
         double check = quaters;
    DecimalFormat fmt = new DecimalFormat("##");
    String s = fmt.format((double)(long)quaters);
    double d = Double.valueOf(s).doubleValue();
    fmt.setMaximumFractionDigits(2);
    String dol = fmt.format(amountleft);
              //System.out.println(dol);
              double e =Double.valueOf(dol).doubleValue();
    e= e-2*(.25);
    amountleft=e;
         System.out.println("Quaters to return: " + s);
         public void returnDimes()
         dimes= amountleft/.1;
         double check = dimes;
    DecimalFormat fmt = new DecimalFormat("##");
    String s = fmt.format((double)(long)dimes);
    System.out.println("Dimes to return: " + s);
    double d = Double.valueOf(s).doubleValue();
    fmt.setMaximumFractionDigits(2);
    String dol = fmt.format(amountleft);
              double e =Double.valueOf(dol).doubleValue();
    e= e-1*(.1);
    fmt.setMaximumFractionDigits(2);
    String dola = fmt.format(e);
              double t =Double.valueOf(dola).doubleValue();
    amountleft=t;
              public void returnNickles()
         double nickles = amountleft/.05;
              double check = nickles;
    DecimalFormat fmt = new DecimalFormat("##");
    String s = fmt.format((double)(long)nickles);
    System.out.println("Niclkles to return: " + s);
    double d = Double.valueOf(s).doubleValue();
    fmt.setMaximumFractionDigits(2);
    String dol = fmt.format(amountleft);
              double e =Double.valueOf(dol).doubleValue();
    e= e-1*(.05);
    fmt.setMaximumFractionDigits(2);
    String dola = fmt.format(e);
              double t =Double.valueOf(dola).doubleValue();
    amountleft=t;
         public void returnPennies()
              double pennies = amountleft/.01;
    DecimalFormat fmt = new DecimalFormat("##");
    String s = fmt.format((double)(long)pennies);
    System.out.println("Pennies to return: " + s);
         public static void main(String[] a) throws IOException
              Cashier cash = new Cashier();
              cash.getAmount();
              cash.recieve();
              cash.returnDollars();
              cash.returnQuaters();
              cash.returnDimes();
              cash.returnNickles();
              cash.returnPennies();

  • How to format numbers in Address Book for iPhone

    I am planning to get an iPhone within the next few weeks and have begun entering all the numbers from my current cell phone into Address Book so that I'll be able to sync it with the iPhone. Since I never had to sync these numbers with anything other than my .Mac account, they are all entered like this: (555) 555-5555. Do I have to format them differently so that I will be able to use them on the iPhone. And do I have to add a "1" for each number or can I have the iPhone add that automatically?
    Thanks.

    entering like your example works fine. Just remember that if your entering phone # outside the US use the "+" symbol. example +46 35 46678 67

  • How can I customize Microsoft Word Outline Numbered List Templates with AppleScript?

    I wrote an applescript to set up a word document with the appropriate styles to give the document an academic setup, much like what Xelatex produces. This is a work in progress and I have a problem.
    I have successfully applied the style changes to each Header and I have applied the desired outline numbered list template "list template 5 of list gallery 3", however I would like to add tab stops to each one in order to make each header look slick like in Latex.
    To do what I want manually in Microsoft Word 2011 mac I would click Bullets and Numbering, customize, under text position i would check the tab stop box and put in some value (1 cm, for example)
    The following is an approximation of the result of running this script on a document with headings 1-9 applied consequently to each line, respectively. Note how they are not even. I think this is an issue with the template, but I want to be able to run this script on any mac without extra template files.
    1    Heading 1
    1.1    Heading 2
    1.1.1    Heading 3
    1.1.1.1    Heading 4
    1.1.1.1.1    Heading 5
    1.1.1.1.1.1 Heading 6
    1.1.1.1.1.1.1        Heading 7
    1.1.1.1.1.1.1.1Heading 8
    1.1.1.1.1.1.1.1.1 Heading 9
    Here is the script so far:
    Academic Paper Setup
    Copyright © 2012 macmadness86
    Just kidding there is no copyright. Open Source rules!
    You may use this code however you like. It would be nice
    if you made reference to the original code when sharing.
    THINGS TO DO:
    find a fix for changing font color of headings without hardcoding it.
    fix headings 4-9
    (*<Properties to be set by the user*)
    --number suffix corresponds to heading 1, heading 2, etc.
    --NOTE: To change the coloring of headings, it must be hardcoded. must find a fix.
    property fontName1 : "CMU Serif Roman"
    property fontName2 : "CMU Serif Roman"
    property fontName3 : "CMU Serif Roman"
    property fontName4 : "CMU Serif Roman"
    property fontName5 : "CMU Serif Roman"
    property fontName6 : "CMU Serif Roman"
    property fontName7 : "CMU Serif Roman"
    property fontName8 : "CMU Serif Roman"
    property fontName9 : "CMU Serif Roman"
    property fontSize1 : 15
    property fontSize2 : 14
    property fontSize3 : 13
    property fontSize4 : 12
    property fontSize5 : 12
    property fontSize6 : 12
    property fontSize7 : 12
    property fontSize8 : 12
    property fontSize9 : 12
    property boldTF : true
    property italicTF : false
    property highlightTF : false
    (*Properties to be set by the user>*)
    tell application "Microsoft Word"
        tell active document
            (*<normal code BLOCK*)
            set name of font object of Word style style normal to "CMU Serif Roman"
            set font size of font object of Word style style normal to 12
            set bold of font object of Word style style normal to false
            set italic of font object of Word style style normal to false
            set color index of font object of Word style style normal to black
            (*normal code BLOCK>*)
            (*<heading 1 code BLOCK*)
            set name of font object of Word style style heading1 to fontName1
            set font size of font object of Word style style heading1 to fontSize1
            set bold of font object of Word style style heading1 to boldTF
            set italic of font object of Word style style heading1 to italicTF
            set color index of font object of Word style style heading1 to black
            --set paragraph format left indent of paragraph format of Word style style heading1 to (centimeters to points centimeters 0) --indent sections relative to margin
            --set tab stop position of tab stop of Word style style heading1 to (centimeters to points centimeters 1)
            --set tab hanging indent of paragraph format of Word style style heading1 to count 1
            (*heading 1 code BLOCK>*)
            (*<heading 2 code BLOCK*)
            set name of font object of Word style style heading2 to fontName2
            set font size of font object of Word style style heading2 to fontSize2
            set bold of font object of Word style style heading2 to boldTF
            set italic of font object of Word style style heading2 to italicTF
            set color index of font object of Word style style heading2 to black
            (*heading 2 code BLOCK>*)
            (*<heading 3 code BLOCK*)
            set name of font object of Word style style heading3 to fontName3
            set font size of font object of Word style style heading3 to fontSize3
            set bold of font object of Word style style heading3 to boldTF
            set italic of font object of Word style style heading3 to italicTF
            set color index of font object of Word style style heading3 to black
            (*heading 3 code BLOCK>*)
            (*<heading 4 code BLOCK*)
            set name of font object of Word style style heading4 to fontName4
            set font size of font object of Word style style heading4 to fontSize4
            set bold of font object of Word style style heading4 to boldTF
            set italic of font object of Word style style heading4 to italicTF
            set color index of font object of Word style style heading4 to black
            (*heading 4 code BLOCK>*)
            (*<heading 5 code BLOCK*)
            set name of font object of Word style style heading5 to fontName5
            set font size of font object of Word style style heading5 to fontSize5
            set bold of font object of Word style style heading5 to boldTF
            set italic of font object of Word style style heading5 to italicTF
            set color index of font object of Word style style heading5 to black
            (*heading 5 code BLOCK>*)
            (*<heading 6 code BLOCK*)
            set name of font object of Word style style heading6 to fontName6
            set font size of font object of Word style style heading6 to fontSize6
            set bold of font object of Word style style heading6 to boldTF
            set italic of font object of Word style style heading6 to italicTF
            set color index of font object of Word style style heading6 to black
            (*heading 6 code BLOCK>*)
            (*<heading 7 code BLOCK*)
            set name of font object of Word style style heading7 to fontName7
            set font size of font object of Word style style heading7 to fontSize7
            set bold of font object of Word style style heading7 to boldTF
            set italic of font object of Word style style heading7 to italicTF
            set color index of font object of Word style style heading7 to black
            (*heading 7 code BLOCK>*)
            (*<heading 8 code BLOCK*)
            set name of font object of Word style style heading8 to fontName8
            set font size of font object of Word style style heading8 to fontSize8
            set bold of font object of Word style style heading8 to boldTF
            set italic of font object of Word style style heading8 to italicTF
            set color index of font object of Word style style heading8 to black
            (*heading 8 code BLOCK>*)
            (*<heading 9 code BLOCK*)
            set name of font object of Word style style heading9 to fontName9
            set font size of font object of Word style style heading9 to fontSize9
            set bold of font object of Word style style heading9 to boldTF
            set italic of font object of Word style style heading9 to italicTF
            set color index of font object of Word style style heading9 to black
            (*heading 9 code BLOCK>*)
        end tell
        (*<apply numbering to the sections code BLOCK*)
        set selFind to find object of selection --selects text of execute find command
        clear formatting selFind --reset selFind just to make sure
        set style of selFind to style heading1 --set style we are looking for
        execute find selFind find text "" wrap find find continue with find format and match forward
        if found of selFind is true then
            --display dialog (get content of text object of selection) --for debugging only
            (*<code BLOCK word__set paragraph style*)
            --I apply the formatting to the previously found text
            set myLT to list template 5 of list gallery 3 of active document
            apply list format template (list format of text object of selection) ¬
                list template myLT
        end if
        (*Apply numbering to the sections code BLOCK>*)
    end tell

    I figured it out . Just in case anyone else wants to know the script is below:
    tell application "Microsoft Word"
        set myTable to table 1 of selection
        convert to text myTable separator separate by tabs
    end tell

  • Format numbers in column chart

    Hi all,
    I want to display formated numbers in tooltip of column chart.
    Instead 60000 display 60,000...
    Is it possible?
    VC7 SP15 Flash runtime.
    Thanks,
    Ola
    Edited by: Ola Agiv on Sep 18, 2008 2:01 PM

    Hi,
    I tried your soln on my System as below.
    1.Input field L1
    2.Expression Field E1 with formula :NSTR(@L1, 'C'),
    3.Exepression Field E2 WIth formula :REPLACE(NSTR(@L1,'C'), '.', ',')
    I Had given Input for L1 as 10000.
    the output of E1,E2 is 10,000  Means output of both formulas returning same output.
    Could you plesae check this once .
    where you testing this
    i am working on SP16.
    Thansk,
    Govindu

  • Error when running Dashboard with BPC 10 Connection

    Hello Experts,
    I am trying to preview my created Dashboard with BPC 10 Connection. Upon clicking Preview I encountered an "UnSupported Excel Function" error.
    When I clicked OK and tried to refresh my report, another error came up:
    Have you encountered these errors before?
    Thanks!
    Regards,
    Joana

    Hi Joana,
    Please refer knowledge base article 1741089 - Dashboard design error message: Unsupported Excel function EPMOlapMember - which says the same:
    Cause
    This is normal product behavior. Only native Excel functions which are
    supported by Xcelsius should be used for generating the dashboard.
    The embedded spreadsheet does not support all Excel functions. It does not
    support macros, conditional formatting, linking to other external spreadsheets,
    and some formula functions.
    Resolution
    Use only functions that are supported by Dashboard Design (Xcelsius).
    For a full list of supported functions, see the section Supported Excel
    functions in the Dashboards and Presentation Design User Guide available form http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_dashD_user_en.pdf.
    Hope this helps.
    Regards,
    Kalyan.

  • New to formatting numbers

    The following is an assignment given to me in my intro to Java class.
    The program EmployeeTest calls different methods in Employee in order to print out the pay per individual, total pay, gross pay, and total net pay.
    While I know that the teacher wants me to use java.text.NumberFormat, I am unsure how to proceed. I have been able to format my numbers with the comma, but have no idea how to format the decimals. She wants the third decimal place DROPPEd, not rounded. Any help would be greatly appreciated.
    import java.util.Locale;
    import java.text.NumberFormat;
    import javax.swing.JOptionPane;
    public class EmployeeTest
         //declare variables
         static String results = ""; //used to store results
         static Employee empArray[] = new Employee[7]; //creates and initializes array of 8 employees
         static double totalTax; //used to store value of total taxes paid
         static double totalGrossPay; //used to store total gross pay
         public static void main(String args[])
              //declare hours array
              double hoursrArray[][] = { {12,7,8,8,8.5},
                             {8,10,8.5,8.5,9},
                             {8,7,11,9,7.5},
                             {8.5,6,7,10.5,6},
                             {7.5,8,8,12,10},
                             {9.5,7.5,8,12,10},
                             {5,6,3,2,8} };
              addHours(hoursrArray); //call method addHours
              buildResults();     //call method buildResults
              printResults(); //call method print Results
         //addHours method
         public static void addHours(double hrArray[][])
              double totalPay = 0.0; //initialize total pay to 0
              double hours = 0.0; //initialize hours as a double with value 0
              //for loop to send each row through class Employee
              for (int i = 0; i < hrArray.length; i++)
                        for (int j = 0; j < hrArray.length; j++)
                             hours += hrArray[i][j];
                        empArray[i] = new Employee("Employee" + i, i, hours);
                        hours = 0.0;
                        totalTax += empArray[i].calculateTax(); //add taxes from each run-through
                        totalGrossPay += empArray[i].getTotalPay(); //add pay from each run-through
              //walk through array, add hours worked for each
              //employee, create employee, assign to empArray, and calculate total pay
         //buildResults method
         public static void buildResults()//create method to build results
              NumberFormat nf1 = NumberFormat.getInstance(); //format numbers
              results = "Employee Results\n\n"; //interior title of info box "pay results"
              for (int i = 0; i < empArray.length; i++)
                   results += empArray[i].toString() + "\n"; //add results from empArray/Employee to results string
              results += "Total Gross Pay $" + nf1.format(totalGrossPay) + "\nTotal Total Tax $"
                   + nf1.format(totalTax) + "\nTotal Net Pay $" + nf1.format(totalGrossPay - totalTax);
         //printResults method
         public static void printResults() //create method to print results
              //print results to dialog box
              JOptionPane.showMessageDialog(null, results, "Pay Results", JOptionPane.INFORMATION_MESSAGE);
    public class Employee
         private String name;
         private int id;
         private double hoursWorked;
         private double totalPay;
         private static int numberOfEmployees = 0;
         public Employee()
              setName("");
              setId(0);
              setHoursWorked(0.0);
              setTotalPay(0.0);
              numberOfEmployees++;
         public Employee( String n, int i, double h )
              setName(n);
              setId(i);
              setHoursWorked(h);
              calculateTotalPay(h);
              calculateTax();     
              numberOfEmployees++;
         public String getName()
              return name;
         public int getId()
              return id;
         public double getHoursWorked()
              return hoursWorked;
         public double getTotalPay()
              return totalPay;
         public static int getNumberOfEmployees()
              return numberOfEmployees;
         public void setName(String n)
              name = n;
         public void setId(int i)
              id = i;
         public void setHoursWorked(double h)
              hoursWorked = h;
         public void setTotalPay(double p)
              totalPay = p;
         public String toString()
              //return String.format("Name %s ID %s Hours Worked %.2f Total Pay $%.2f",
                   //name, id, hoursWorked, totalPay );
              return ("Name " + name + " ID " + id + " Hours Worked " + hoursWorked
                   + " Total Pay $" + totalPay);
         public void calculateTotalPay(double r)
              int num = id%2;
              if (num == 0)
                   if (hoursWorked <= 40)
                        totalPay = (hoursWorked * 10.5);
                   else
                        totalPay = (hoursWorked * 10.5) + ((hoursWorked - 40) * 5.25);
              else
                   if (hoursWorked <= 40)
                        totalPay = (hoursWorked * 15.75);
                   else     
                        totalPay = (hoursWorked * 15.75) + ((hoursWorked - 40)* 7.875);
         public Double calculateTax()
              double tax;
              if (totalPay <=500)
                   tax = totalPay * .07;
              else
                   tax = totalPay * .1;
              return tax;

    First you mentioned assignment.Thats good, know we now how much and how we can help. It's annoying with posts which is
    obvious assignments but the author doesn't tell us so.
    Second, you don't use code tags to post code.To get code tags click the code button over the window, this will give you code tags
    at the end of your post. You write the code between the brackets pairs like
    [hoho] static public void main(String[] args) [hoho], just that "hoho" should be "code" instead.

Maybe you are looking for

  • Want to use 20" Cinema (Alu) on MacBook. Can i hotplug it ?

    I want to use my 20" Cinema Display (Alu) with my black MacBook. I use the mini-DVI to DVI adapter. Can i plug in the Display while the Mac is running (and the Display too) or do i have to switch off both befor connecting them ? I dont want a answer

  • Error in starting a workflow with a z event.

    I have implemented an event in an object which gets generated through PA30. But when the event gets generated the workflow does not get triggerred and instead an error msg comes in event trace ie. "Event EMPLOYEEI CHANGED for task WS90000048 not defi

  • How to use the Ip4s with another carrier network?

    Hi, I bought an IP4S from Walmart without contract (original price). Can I use the Tmobile on it? If not, how can I do? Thanks,

  • Tables are not uploaded to client.

    Hello you all. Using OLite 10.2.0.1. I've tried to upload two tables via MDW to a PPC2003 emulator and it worked fine. When I try to upload a second time, a third table for example, using MDW and Package Wizard after a successfully app deploy, on the

  • Updated ipod, wiped out songs, and now I can't get them back on to to it

    I updated my daughters ipod nano, not knowing that it would wipe out all her songs. Now we are trying to get them back on from her library and it only copies 1 song from her 79 and it does not give us the option to send them to it. Please Help !!