Equating variable having value 96.245,8 with variable having value 96245.8?

Hi Gurus,
I am trying to equate a variable(V1) of type (data element I_ERFMG  QUAN 13,3) and having value 96.245,865 with another variable(V2) of type MARD-LABST of TYPE  (Data element LABST QUAN 13,3) but unfortunately it is not in same format as above variable,its format is 96245.865  i.e. normal decimal digits.
Please suggest how to do this convertion
i am trying to execute this logic
IF V1 < V2.
Do SOmething.
ELSE.
Do something.
ENDIF.
Please help me on this... i am stuck in a middle of sea for this.
Thanks

Hi,
first go to t-code SU01--> enter your user name --> click on change -->go to defaults tab
                                    -->change the Decimal notation to X 1,234,567.89
then save and logout and login.
now the data appears properly and you can compare easily..
Prabhudas

Similar Messages

  • Developing maths wave equation and make the equation variable.

    Hi expert..
    i am having difficulties to create  a program using mathematical wave equation and make the equation variable in 2 wave. e.g
    square wave=2*a/pi*atan(tan(pi*t/period)) or sine wave= a*sin(2*f*t).i need to change the frequency and amplitude between 2 wave together separately.can anyone help me please..
    Attachments:
    Draft pgm1.JPG ‏29 KB

    Sorry I didn't attach the VI. I have now attached the VI and a screenshot of the block diagram.
    Good Luck!
    Tom
    NIUK
    Attachments:
    forforum.JPG ‏88 KB
    example2.vi ‏13 KB

  • Equation Variables

    I would like to use some variables in equations in regular font instead ot italics. How can I declare such variables as Ra, Nu, Pr to be in regualr font just like it does for sin, cos etc?

    To type text in an equation with the same properties that are used for function names, type a double quotation mark.
    Or use the Equations palette: [ Symbols ]  [ Start String ]
    and [ End String ]
    Curiously, the entered text strings don't seem to get automatically tagged with Character Format "EquationVariables", and even if you apply that tag to them, it doesn't stick.
    Whatever settings or overrides EquationVariables presently has get applied, but the tag itself apparently doesn't. Select such a string with the Character Designer up, and nothing is shown. Update the definition of EquationVariables, and the strings in existing equations don't change.
    Indeed, I can't quickly determine what default typeface the equation editor is using. Highlighting the text, and pulling down the Format > Font menu, nothing is checked.
    So you can set up EquationVariables as a convenient tool to apply what amounts to a local override format in equations strings, but apply it you must, to every string. And don't shortcut by selecting an entire equation, and applying a character format. When I just tried that, it changed a multiply "x" to a Yen.
    FM 7.0p578 Win XP32/SP3

  • Mathematical equations in any value field (as per Quark)

    Often it is useful to use equations in value fields to calculate heights, widths, distances or any other value in Illustrator.
    Quark has long had the ability to enter equations... (1mm+18pt)*5 for the width of a graphics box, for example.
    Illustrator (or any other CS3 application) cannot do this. So one has to either enter 1mm+18pt and then add "*5" in a two step process... or use the Calculator application and enter the result.
    Such a simple feature that would help tremendously.

    I agree that this would be a useful feature. I find myself missing it at least once a week.

  • Nokia OviSuite v2.2.0.245 bug with windows shutdow...

    I came the forum to warn everybody, ive been using ovi suite since the beginning never had a problem, and recently my windows instead of restarting or shutdown in seconds, just frooze up instead of closing in seconds it now takes 3 or 4 minutes.
    I instaled everything one by one, and the windows has no problems until i installed Nokia Ovi Suite and bingo shutdown got slow. The installation process does not give any error and start up time doesnt change either.
     It took me many hours to find out so if anyone has the same problem you will know why

    I have found almost the same thing with my computer after installing Ovi Suite. This is happening because there is service called as NokiaMserver.exe which runs in the backgroung associated with the ovi suite. I end process of this service and then also deselected the option in Ovi Suite Optiotns-general- Unchecked the start up while windows starts..
    This had some effect if not that great, but slightly better.
    Cheers
    Show appreciation by clicking the kudos star :-), or gesture by typing thanks

  • User Created Equations and program Variables

    Is there a way that I can take a user entered equation and apply it as the equation for a value? How can I make a String entered by the user to act as an equation insted of a string?
    I've created a part in my program with various mathematic operators as well as user friendly variables. The user selects the operators as well as variables from JComboBoxes. The user-friendly variables are converted to actual variables via a hash and another string is created to represent an equation.
    Example:
    User selects variables and operators to create:
    String UserEquation="(Average Tip)-(Total Fares *.10)";
    The above isn't much helpful if it doesn't reference real varaibles. The real equation after applying the hash is:
    String RealEquation = "(numbers.get(1) - (numbers.get(3)*.1)";
    Note: numbers is a vector of doubles.
    How can I get the program to evaluate the "Real Equation" instead of treating it like String?
    I would like to do somthing like the following:
    double total=RealEquation;
    Make Sense?? Is there a way to accomplish this? anyone have any idea how I could do this? Thanks in advance!!!

    Or, if speed isnt an issue, search the forum for using J6's scripting support
    to use JavaScript for equation evaluation. I posted an example just a couple weeks ago.
    Here it is:
    http://forum.java.sun.com/thread.jspa?threadID=5228772&messageID=9933551
    Reply #8

  • Select statment not working with variables

    Hi experts,
    Iam trying to select some data using the follwoing code
    with radio buttons r6 & r7.
    If r6 selected,it takes from parameter and
    if r7 selected it takes from select options...
    data: l_datbi type a005-datbi,l_datab type a005-datab.
        if r6 = 'X'.
          l_datbi = pvalid.
          l_datab = pvalid.
        elseif r7 = 'X'.
          l_datab = svalid-low.
          l_datbi = svalid-high.
        endif.
    select vtweg matnr knumh datbi datab                      into corresponding fields of i_itab
                          from A004
                          where kappl eq 'V'
                          and kschl eq pkschl
                          and vkorg eq pvkorg
                          and vtweg in svtweg
                          and matnr in smatnr
                          and datab le l_datab    ####### 
                          and datbi ge l_databi.  #######
    This select statement is not working.
    It is taking only one value at a time.(r6 value or r7value)
    What might be the reason...?
    reward gurarenteed
    maggy

    Hi,
    You are trying to equate your low value with end date and high value with start date..
    The correct logic will be,
    data: l_datbi type a005-datbi,l_datab type a005-datab.
    if r6 = 'X'.
    l_datbi = pvalid.  "Start Date
    l_datab = pvalid.  "End Date
    elseif r7 = 'X'.
    <b>*l_datab = svalid-low. "Wrong</b>
    <b>l_datab = svalid-high. "Right</b>
    <b>*l_datbi = svalid-high.  "Wrong</b>
    <b>l_datbi = svalid-low.  "Right</b>
    endif.
    select vtweg matnr knumh datbi datab into corresponding fields of i_itab
    from A004
    where kappl eq 'V'
    and kschl eq pkschl
    and vkorg eq pvkorg
    and vtweg in svtweg
    and matnr in smatnr
    and datab le l_datab #######   "This also doesnt look
    and datbi ge l_databi. ####### "right to me, please check
    Hope this helps..
    Sri

  • How do I solve simultaneous equation with 3 unknowns ?

    I need to solve simultaneous equations with 3 unknowns . Can any body help out on how to go about this? Thanx.

    You did not specify what kind of equations you have....
    Are your equations linear? Check the linear algebra palette and a look at "solve linear equations:.
    LabVIEW Champion . Do more with less code and in less time .

  • Best data Structor for dealing with very large CSV files

    hi im writeing an object that stores data from a very large CSV file. The idea been that you initlize the object with the CSV file, then it has lots of methods to make manipulating and working with the CSV file simpler. Operations like copy colum, eliminate rows, perform some equations on all values in a certain colum, etc. Also a method for prining back to a file.
    however the CSV files will probly be in the 10mb range maby larger so simply loading into an array isn't posable. as it produces a outofmemory error.
    does anyone have a data structor they could recomend that can store the large amounts of data require and are easly writeable. i've currently been useing a randomaccessfile but it is aquard to write to as well as needing an external file which would need to been cleaned up after the object is removed (something very hard to guarentee occurs).
    any suggestions would be greatly apprechiated.
    Message was edited by:
    ninjarob

    How much internal storage ("RAM") is in the computer where your program should run? I think I have 640 Mb in mine, and I can't believe loading 10 Mb of data would be prohibitive, not even if the size doubles when the data comes into Java variables.
    If the data size turns out to be prohibitive of loading into memory, how about a relational database?
    Another thing you may want to consider is more object-oriented (in the sense of domain-oriented) analysis and design. If the data is concerned with real-life things (persons, projects, monsters, whatever), row and column operations may be fine for now, but future requirements could easily make you prefer something else (for example, a requirement to sort projects by budget or monsters by proximity to the hero).

  • Need help with calling method

    I'm new to Java, trying to pass a required class so I can graduate this semester, and I need help figuring out what is wrong with the code below. My assignment is to create a program to convert celsius to fahrenheit and vice versa using Scanner for input. The program must contain 3 methods - main, convert F to C, method, and convert C to F method. Requirements of the conversion methods are one parameter which is an int representing temp, return an int representing calculated temp after doing appropriate calculation, should not display info to user, and should not take in info from user.
    The main method is required to ask the user to input a 1 for converting F to C, 2 for C to F, and 3 to end the program. It must include a while loop that loops until the user enters a 3, ask the user to enter a temp, call the appropriate method to do the conversion, and display the results. I'm having trouble calling the conversion methods and keep getting the following 2 compiler errors:
    cannot find symbol
    symbol : method farenheitToCelsius(int)
    location: class WondaPavoneTempConverter
    int celsius = farenheitToCelsius(intTemp);
    ^
    cannot find symbol
    symbol : method celsiusToFarenheit(int)
    location: class WondaPavoneTempConverter
    int farenheit = celsiusToFarenheit(intTemp);
    The code is as follows:
    public static void main(String[] args) {
    // Create a scanner
    Scanner scanner = new Scanner(System.in);
    // Prompt the user to enter a temperature
    System.out.println("Enter the temperature you wish to convert as a whole number: ");
    int intTemp = scanner.nextInt();
    System.out.println("You entered " + intTemp + " degrees.");
    // Prompt the user to enter "1" to convert to Celsius, "2" to convert to
    // Farenheit, or "3" to exit the program
    System.out.println("Enter 1 to convert to Celsius, 2 to convert to Farenheit, or 3 to exit.");
    int intConvert = scanner.nextInt();
    // Convert temperature to Celsius or Farenheit
    int celsius = farenheitToCelsius(intTemp);
    int farenheit = celsiusToFarenheit(intTemp);
    while (intConvert >= 0) {
    // Convert to Celsius
    if (intConvert == 1) {
    System.out.println("Celsius is " + celsius + " degrees.");
    // Convert to Farenheit
    else if (intConvert == 2) {
    System.out.println("Farenheit is " + farenheit + " degrees.");
    // Exit program
    else if (intConvert == 3) {
    break;
    else {
    System.out.println("The number you entered is invalid. Please enter 1, 2, or 3.");
    //Method to convert Celsius to Farenheit
    public static int celsiusToFahrenheit(int cTemp) {
    return (9 / 5) * (cTemp + 32);
    //Method to convert Farenheit to Celsius
    public static int fahrenheitToCelsius(int fTemp) {
    return (5 / 9) * (fTemp - 32);
    I readily admit I'm a complete dunce when it comes to programming - digital media is my area of expertise. Can anyone point me in the right direction? This assignment is due very soon. Thanks.

    1) consider using a boolean variable in the while statement and converting it to true if the input is good.
    while (inputNotValid)
    }2) put the code to get the input within the while loop. Try your code right now and enter the number 30 when your menu requests for input and you'll see the infinite loop.... and why you need to request input within the loop.
    3) Fix your equations. You are gonig to have to do some double calcs, even if you convert it back to int for the method return. Otherwise the results are just plain wrong. As a good test, put in the numbers -40, 0, 32, 100, and 212. Are the results as expected? (-40 is the only temp that is the same for both cent and fahr). I recommend doing double calcs and then casting the result to int in the return. for example:
    int a = (int) (20 + 42.0 / 3);  // the 42.0 forces the compiler to do double calc.4) One of your equations may still be plain wrong even with this fix. Again, run the test numbers and see.
    5) Also, when posting your code, please use code tags so that your code will be well-formatted and readable. To do this, either use the "code" button at the top of the forum Message editor or place the tag &#91;code&#93; at the top of your block of code and the tag &#91;/code&#93; at the bottom, like so:
    &#91;code&#93;
      // your code block goes here.
    &#91;/code&#93;

  • Scale simple rectangle with .css on hover

    Good evening dear members,
    I uploaded you a sample project to illustrate the problem. (Dropbox - Example.zip)
    Over all I only want to resize a rectangle with a hover effect. However, the problem arises that the size of the rectangle with scale = 1 changes?!
    I create a rectangle "button" and give the "button" as mouseout-action the following code:
    var object = sym $ ("button").
    rescale = 1;
    object.css ('transform', 'scale (' + rescale + ')');
    object.css ('o-transform', 'scale (' + rescale + ')');
    object.css ('- ms-transform', 'scale (' + rescale + ')');
    object.css ('- webkit-transform', 'scale (' + rescale + ')');
    object.css ('- moz-transform', 'scale (' + rescale + ')');
    object.css ('- o-transform', 'scale (' + rescale + ')');
    object.css ('z-index', '1');
    I don´t understand why the rectangle is changing!
    Maybe you can explain it to me :-)
    Best regards and many thanks
    Marc

    It shouldn't get smaller, in fact at a value of 1, it should not change at all because 1 equates to 100% of the original.
    Change the value to a higher number, like 2, for example. Which says 'transform to 200% of the original'.
    var object = sym.$("button");
    rescale= 2;
    object.css({
                'transform': 'scale(' + rescale + ')',
                '-ms-transform': 'scale(' + rescale + ')',
                '-moz-transform': 'scale(' + rescale + ')',
                '-webkit-transform': 'scale(' + rescale + ')',
                '-o-transform': 'scale(' + rescale + ')',
                'z-index':'1'
    To get a better understanding of how the values work and there equivalents.
    - Select any element on your Stage;
    - Then toy with the Transform property (see capture);
    - as captured a transform at 167% equates to a value of 1.67
    hth
    Darrell

  • Help.... with a code

      This program that reads a mathematical expression composed of
      an integer, an operator and another integer; your program should perform
      the operation and output the result.  Operations expected are +, -, *, /,
      ** ( power) and  %.  The program should repeat until the user enters @ for the operation.
       import javax.swing.JOptionPane; // program uses class JOptionPane
        public class Sh7q5
       // main method begins execution of Java application
           public static void main( String args[] )
             int num1; // The number before the expression
             int num2; // The number after the expression
             int a;
             int b; // index of -
             int c; // index of /
             int d; // index of +
             int e; // index of %
             int f; // index of *
                   int g; // index of **
          // The mathematical expression composed of an integer, an operator and another integer
             String s;
             String outputStr; // The resulting string
             do
                s = JOptionPane.showInputDialog("Enter mathematical expression composed" + "\n"
                   + "of an integer, an operator and another integer" + "\n" +
                   " Operations expected are +, -, *, /, ** ( power) and %" + "\n" +
                   "For example: 2+4  without any spaces" + "\n"
                   + "Enter @ to end the program" );
                b = s.indexOf("-");
                d = s.indexOf("/");
                c = s.indexOf("+");
                e = s.indexOf("%");
                f = s.indexOf("*");
                        g = s.indexOf("*", f);
                if ( b > 0 )
                   num1 = Integer.parseInt(s.substring(0,b));
                   num2 = Integer.parseInt(s.substring(b+1));
                   a = num1 - num2;
                   outputStr = num1 + "-" + num2 + "= " + a;
                   // display result in a JOptionPane message dialog
                   JOptionPane.showMessageDialog(null, outputStr , "The result",
                         JOptionPane.INFORMATION_MESSAGE);
                else 
                   if ( d > 0)
                      num1 = Integer.parseInt(s.substring(0,d));
                      num2 = Integer.parseInt(s.substring(d+1));
                      a = num1 / num2;
                      outputStr = num1 + "/" + num2 + "= " + a;
                      // display result in a JOptionPane message dialog
                      JOptionPane.showMessageDialog(null, outputStr , "The result",
                            JOptionPane.INFORMATION_MESSAGE);
                   else
                      if ( c > 0)
                         num1 = Integer.parseInt(s.substring(0, c));
                         num2 = Integer.parseInt(s.substring(c+1));
                         a = num1 + num2;
                         outputStr = num1 + "+" + num2 + "= " + a;
                       // display result in a JOptionPane message dialog
                         JOptionPane.showMessageDialog(null, outputStr , "The result",
                             JOptionPane.INFORMATION_MESSAGE);
                      else
                         if ( e > 0)
                            num1 = Integer.parseInt(s.substring(0, e));
                            num2 = Integer.parseInt(s.substring(e+1));
                            a = num1 % num2;
                            outputStr = num1 + "%" + num2 + "= " + a;
                         // display result in a JOptionPane message dialog
                            JOptionPane.showMessageDialog(null, outputStr , "The result",
                               JOptionPane.INFORMATION_MESSAGE);
                         else
                            if ( f > 0)
                               num1 = Integer.parseInt(s.substring(0, f));
                               num2 = Integer.parseInt(s.substring(f+1));
                               a = num1 * num2;
                               outputStr = num1 + "*" + num2 + "= " + a;
                            // display result in a JOptionPane message dialog
                               JOptionPane.showMessageDialog(null, outputStr , "The result",
                                  JOptionPane.INFORMATION_MESSAGE);
                            else
                               if( g > 3)
                                  num1 = Integer.parseInt(s.substring(0, f));
                                  num2 = Integer.parseInt(s.substring(g+1));
                                  a = (int) Math.pow( num1, num2);
                                  outputStr =  num1 + "**" + num2 + "= " + a;
                               // display result in a JOptionPane message dialog
                                  JOptionPane.showMessageDialog(null, outputStr , "The result",
                                     JOptionPane.INFORMATION_MESSAGE);
             while ( s != "@");
             System.exit(0);
          } // end method main
       } // end class Sh7q5the code works fine when compiling it but .. with the running the last part
    else
                               if( g > 3)
                                  num1 = Integer.parseInt(s.substring(0, f));
                                  num2 = Integer.parseInt(s.substring(g+1));
                                  a = (int) Math.pow( num1, num2);
                                  outputStr =  num1 + "**" + num2 + "= " + a;
                               // display result in a JOptionPane message dialog
                                  JOptionPane.showMessageDialog(null, outputStr , "The result",
                                     JOptionPane.INFORMATION_MESSAGE);
                               }dosen't work it says when running
    Exception in thread "main" java.lang.NumberFormatException: For input string: "*2"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at Sh7q5.main(Sh7q5.java:122)
    ----jGRASP wedge2: exit code for proc
    can anyone help please

    I went nutts.
    package forums.calc;
    import javax.swing.JOptionPane;
    import java.util.Map;
    import java.util.HashMap;
    * SimpleCalculator reads a simple mathematical expression composed of:<br>
    *   an integer, an operator, and another integer;<br>
    * The program then displays the result of the specified operation.
    * </p>
    * Notes:<ul>
    * <li>The supported operators are +, -, *, /, ** (power), and % (modulus).
    * <li>The program repeats until the user presses the cancel button.
    * <li>The View is the SimpleCalculator class.
    * <li>The Controler is SimpleCalculator's main method.
    * <li>The Model is the Equation and Operation classes.
    * </ul>
    public class SimpleCalculator {
      private static final String PROMPT =
       "Enter mathematical expression composed of:"
      +"\n  an integer, an operator and another integer, seperated by spaces."
      +"\nFor example: 2 + 4"
      +"\nThe valid operators are +, -, *, /, ** (power), and % (modulus)."
      // CONTROLER
       * The main method is the Controler in the MVC paradigm.
       * It orchestrates the interactions between the View and the Model.
      public static void main(String... args) {
        try {
          SimpleCalculator calculator = new SimpleCalculator();
          while (true) {
            try {
              // INPUT: The calculator (the view) parses the users input into an Equation.
              Equation equation = calculator.getEquationFromUser();
              // PROCESS: The Equation (the model) calculates the result and returns it to the controler
              // OUTPUT: The calculator (the view) displays the result.
              calculator.tellUser(""+equation, "The result");
              // or to be a complete smartazz
              // calc.tellUser("The result is: "+calc.getEquationFromUser().getResult());
            } catch (QuitException e) {
              break;
          } //wend
        } catch(Exception e) {
          e.printStackTrace();
      // VIEW
       * getEquationFromUser - Gets an Equation from the user. Part of the View.</p>
       * <ul>
       * <li>prompts the user to enter an equation
       * <li>validates the users reponse
       * <li>parses the users response into required values
       * <li>creates an equation from those values and returns it
       * <li>nb: loops until the users response is valid, and is parsed OK.
       * </ul>
      private Equation getEquationFromUser() throws QuitException {
        while (true) {
          String response = askUserFor(PROMPT,"Enter equation");
          if (response == null) {
            throw new QuitException("The user has quit!");
          if ( Equation.isValid(response) ) {
            try {
              return new Equation(response);
            } catch (Exception e) {
              e.printStackTrace();
              berateUser("Invalid equation \""+response+"\"!\nCaused by: "+e.toString(), "Parse error");
      private String askUserFor(String prompt, String title) {
        return JOptionPane.showInputDialog(null, prompt, title, JOptionPane.QUESTION_MESSAGE);
      private void tellUser(String message, String title) {
        JOptionPane.showMessageDialog(null, message, title, JOptionPane.INFORMATION_MESSAGE);
      private void berateUser(String message, String title) {
        JOptionPane.showMessageDialog(null, message, title, JOptionPane.ERROR_MESSAGE);
    // MODEL
    * abstract base class for the specific mathematical operation classes
    * (Plus, Minus, Multiply, Divide, Power, Modulus) which are all stateless.
    abstract class Operation{
      protected final String symbol;
      protected Operation(String symbol) {
        this.symbol = symbol;
      abstract Double getResult(double a, double b);
    class Plus     extends Operation { Plus(){super("+");}     Double getResult(double a, double b) { return(a + b); } }
    class Minus    extends Operation { Minus(){super("-");}    Double getResult(double a, double b) { return(a - b); } }
    class Multiply extends Operation { Multiply(){super("*");} Double getResult(double a, double b) { return(a * b); } }
    class Divide   extends Operation { Divide(){super("/");}   Double getResult(double a, double b) { return(a / b); } }
    class Power    extends Operation { Power(){super("**");}   Double getResult(double a, double b) { return(Math.pow(a,b)); } }
    class Modulus  extends Operation { Modulus(){super("%");}  Double getResult(double a, double b) { return(a % b); } }
    * OperatorFactory - builds the set of Operations, and returns to appropriate
    * Operation for the given symbol.
    abstract class OperatorFactory {
      static Map<String,Operation> operators = new HashMap<String,Operation>(6);
      static {
        operators.put("+",  new Plus());
        operators.put("-",  new Minus());
        operators.put("*",  new Multiply());
        operators.put("/",  new Divide());
        operators.put("**", new Power());
        operators.put("%",  new Modulus());
       * returns the appropriate Operation for the given symbol.
      static Operation get(String symbol) throws SyntaxException {
        Operation op = operators.get(symbol);
        if (op==null) {
          throw new SyntaxException("Unknown operator \""+symbol+"\"!");
        return(op);
    * Equation - A model of a mathematical equation.
    class Equation {
      private static final String DB_RE = "(-?\\d+(\\.\\d+)?)"; //double regex
      private static final String OP_RE = "([-+/*%]||\\*\\*)";  //operator regex
      private static final String EXPRESSION_RE = DB_RE+"\\s+"+OP_RE+"\\s+"+DB_RE;
      private final double a;
      private Operation operation;
      private double b;
      protected Equation(String expression) throws SyntaxException, NumberFormatException {
        if (!expression.matches(EXPRESSION_RE)) {
          throw new SyntaxException("Invalid expression!");
        String[] words = expression.split("\\s+");
        if (words.length!=3) {
          throw new SyntaxException("3 words required!");
        this.a = Double.parseDouble(words[0]);
        this.operation = OperatorFactory.get(words[1]);
        this.b = Double.parseDouble(words[2]);
      protected Double getResult() { // caches this.result
        return this.operation.getResult(this.a, this.b);
      public String toString() { // has to public to override Object.toString
        return(this.a+" "+this.operation.symbol+" "+this.b+" = "+this.getResult());
      protected static boolean isValid(String expression) {
        return (expression!=null && expression.matches(EXPRESSION_RE));
    // EXCEPTIONS
    class QuitException extends Exception {
      private static final long serialVersionUID = 0L;
      QuitException(String message) {super(message);}
    class SyntaxException extends Exception {
      private static final long serialVersionUID = 0L;
      SyntaxException(String message) { super(message); }
    }Heila, If you attempt to hand that in your teacher will know you didn't write it yourself.
    Feel free to ask questions. That is after all why we hang around here...
    Cheers. Keith.

  • Enumeration equate types?

    Hi, in C you can define enumerations to different types, say base16,  I have a need to create an enumeration with hex values versus just the basic base10 values. Is this possible with labview somehow. I relize I can pump the basic enumeration into a case swtich control and equate the enumeration values to any type I want, but would like to know if there's a enumeration control or some other control that's more flexiable this way?
    This is what I need for an Enumeration:
    Test1,0x11
    Test2,0x14
    Test3,0x0C
    etc...
    Tnx,
    Rob
    Solved!
    Go to Solution.

    I believe you can. Use "ring", select desired datatype and change the display format to hexa.
    You are reffering to C, but :
    remember
    C Language can understand number in all format i.e. Hex, decimal, binary, octal. you just use a declaration,
    for example
    0x04 ; Hex 4
    04 ; octal 4
    0b100 ; binary 4
    You do basicly the same in labview...

  • In text equations in epub do not format correctly.

    Hi folks,
    I am authoring a text which uses mathematical equations quite frequently. (These are made with Framemaker's equation and not mathml) I notice, however, that equations (say a three by three matrix) leave white space correctly above the matrix, but that the bottom of the matrix bleeds into the following lines of text. Any way to fix that? The document publishes just fine as a pdf with no problem. thanks! Phil Wood

    It kind of depends how the equation is set in FM and what paragraph style follows. This affects the CSS setting used in the epub for the line height properties and consequently the paragraph separations. You might have to tweak the CSS being used in the epub.
    If you're using an anchor paragraph to hold the equation, then it may suffice to play with the spacings for just that one paratag in FM. It's sometimes necessary to use a different FM template that makes adjustments to the paratags in order to optimize the outputs created by the Publish module. You can then specify that the tweaked template(s) be applied to your FM content during the Publish step.

  • Equations in InDesign

    I have a document which needs to have (non-simple) engineering equations inserted. This is the third booklet in a series, the first 2 docs were created in InDesign but did not have much technical jargon.  I would rather not put this document into Word, so I have downloaded the equation editor "MathType" in the hope that the equations could be done from within InDesign.  The MathType 'creaters' say it is compatible with InDesign. However, as far as I can tell, the only way I can get an equation into InDesign, is by copy & paste which means it goes in as a figure/object. Well, this is fine, except uniform re-sizing through the document might be a problem, as well as the fact that the equation does not seem to be editable, and it seems that the equation would need to be re-created, if there are any changes to it.
    My question is, is it possible to put editable (complex) equations directly into InDesign Documents? - perhaps even by some other equation plug-in?  Any suggestions would be appreciated.

    For one-off equations most people use MathType (and live with external editing), but yes: there are a couple of commercial plugins that add editable equations to InDesign. InMath (http://www.itip-gmbh.eu/en/products/inmath/) and MathMagic (http://www.mathmagic.com/product/pro.html) are probably the best known.
    A thorough discussion on MathType and a few plugins can be found at http://objectmix.com/adobe-indesign/225551-indesign-equations.html

Maybe you are looking for

  • HT1933 The app purchased is not compatible with current hardware, how can I get a refund?

    I purchased an app just about an hour ago and it tells me that the app is not compatible with the hardware I already have and in good working order. I already bought an app for the same hardware for my iPhone, it's just different version for the iPad

  • File not getting posted at target directory

    Hi all, I am crearting a simple bypass scenario in which no mapping is involved. I simply have to pick up a file with particular naming convention from the FTP location and write it to other location at the target side with some different naming conv

  • How long did your MacBook Pro take to arrive?

    My MBP is coming direct from Apple but as it was purchased via a reseller I have no tracking. Its been over 9 working days already, but the apple site says 2-3 days is typical? I'm soooo excited but its quickly turning to disappointment with every af

  • Bank gurarantee and letter of credit

    Hi experts, how we can update the the bank gurarantee and letter of credit in SAP systems, Is i need any additional configuration ? regards, Sanju MS

  • Comp. Backflush using Comp. Scrap(No BOM explosion(manual comp. entry))

    Hi Friends, *Component Backflush + MFBF Functionality:* Go to MFBF --> Select the radio button COMPONENT BACKFLUSH --> and click on COMPONENT SCRAP (application toolbar). Now select the radio button NO BOM EXPLOSION(manual comp. entry). Enter the Mat