Displaying decimal number

Dear All;
I just want to get a decimal number (i.e. 2.5), i tried the
Math functions, it didn't solved the problem.
Is there another function which returns decimals.?
Thank you;

DEar Ned;
I am getting the pixels of a scale then converting them into
a pH range (0-14). so, i want the pH reading upto one decimal as
follows:
var mcSlider:MovieClip;
mcSlider.onMouseMove = function():Void {
//var xSlider:Number = this._y;
var ySlider:Number = this._y - 1 * 550;
var pH:Number=14*(-ySlider/550);
this.startDrag(true,110,550,110,0);
txtPh.text=pH;
txtPh._y=+ySlider - 22.5 + 550;
mcSlider.onRelease=onReleaseOutside= function():Void {
this.stopDrag();
};

Similar Messages

  • How can  i  display the Number  instead of  E

    Hello Everyone ;
    I am getting confused. How can i display the Number but the Exponential value is coming as E.
    SQL> select sum(amount_sold) from sales;
    SUM(AMOUNT_SOLD)
    1.1287E+11
    Table details ..
    SQL> desc sales
    Name                                          Null?        Type
    AMOUNT_SOLD NUMBER
    i want to change 1.1287E+11 to "numeric"
    DB : 10.2.0.4
    os : rhel 5.1

    Just a minor correction on an obvious math/responding too fast error: 1.1287E+11 is a 12 digit number. You move the decimal 11 positions to the right which would add 7 zeroes to the value.
    MPOWEL01> l
      1  select length(to_char(1.1287E+11)), to_char(1.1287E+11,'999,999,999,999'), 1.1287E+11 "TEST"
      2* from sys.dual
    MPOWEL01> col TEST format 999999999999
    MPOWEL01> /
    LENGTH(TO_CHAR(1.1287E+11)) TO_CHAR(1.1287E+          TEST
                             12  112,870,000,000  112870000000the problem was that the OP failed to alias the sum result to the formatted column rather than the lenght of the data.
    HTH -- Mark D Powell --

  • Display decimal values in report

    Hi all,
    I have one question concerning the display of decimal values smaller than '1' in a report.
    In an SQL query some calculations are done and the result is displayed in a report.
    The problem is, that if the value of the result is smaller than '1' it shows for example ,8 instead of 0,8
    Does anybody know how to display decimal values normally?
    kind Regards and thanks!!
    Patrick

    Hi SWED!
    1.) Click at the name of your report region (in application builder) to edit it
    2.) Select the "report attributes" tab
    3.) Click at the column you want to format
    4.) Look for the "Column Formatting" region
    5.) Select the proper format from the "Number / Date Format" list or enter your own format like "0.0"
    I hope that will help you along.
    yours sincerely
    Florian W.

  • Hello does anyone knows how to re-enter the decimals for the tempo cause i only have a full number and can't enter a decimal number ?

    hello does anyone knows how to re-enter the decimals for the tempo cause i only have a full number and can't enter a decimal number ?

    Hi
    Go to Preferences:Display and check that you have:
    HTH
    CCT

  • Round decimal number to two places

    trying to round a decimal number to two places i.e. 1.98999 should round to 1.99.
    -tried using math.round but it only rounds to nearest integer
    -tried using decimalformat class but that converts to string, and cast wont allow me to convert from string back to double
    *is there a round method that allows you to specify decimal places?
    *or is there an easy method to cast a string back to a double?
    any advice is appreciated:)

    coynerm wrote:
    trying to round a decimal number to two places i.e. 1.98999 should round to 1.99.Agree.
    -tried using math.round but it only rounds to nearest integerI advise against rounding in most newbie situations. Usually it's the display of the variable you want to change.
    -tried using decimalformat class but that converts to string, and cast wont allow me to convert from string back to doubleOf course cast won't allow you to convert back. If you wanted to do that you'd use Double.parseDouble(stringVar); But we don't know why you are doing all this converting in the first place.
    *is there a round method that allows you to specify decimal places?
    *or is there an easy method to cast a string back to a double?Advice: Forgetting all this fooha with rounding, what in essence are you trying to achieve? Why all of this number manipulation in the first place? It will affect what should be the best answer.

  • Truncating Leading Zeros & Displaying Decimal Positions in a Webdynpro

    Hi All,
    I am new to webdynpro and assigned with some issues in webdynpro application, the issues goes like this. i  already have a webdynpro application where in i am trying to display a PO as in transaction ME23 with Header and Line Items, In Line Items, i want to Truncate Leading Zeros for material Number & Item Numbers. In the net price i want to display decimal values even if our price don’t have any decimal value. For Example if the net price is 33.33 then i am able to see the value as 33.33. If it’s 33.00 then i am able to see values only as 33. I want to see the exact value as 33.00. Let us know how to over come those issues. 
    Thanks in advance,
    With Best Regards,
    Prabahar N.R

    Hi Santhosh,
    I failed while executing the steps you mentioned, kindly look into below description for more understanding.
    We have an issue like the decimal positions are truncated when the value of decimal places are Zero. For Example if the net price is 99.98 then i am able to see the value as 99.98. If it’s 99.00 then i am able to see values only as 99. I want to see the exact value as 99.00. The values are populated from an RFC Table, which is coming from a Standard BAPI.  I find in the implementation, the attributes uses a method called bindText() available in com.sap.tc.webndypro.clientserver.uielip.standard.api.IWDtextview.  Below is the piece of code,
    com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTextView NetPrice_editor
    = (com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTextView)
    wdAlterEgo.createElement(com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTextView.class, "Net_Price_editor");
    NetPrice_editor.setHAlign(com.sap.tc.webdynpro.clientserver.uielib.standard.api.WDInputFieldAlignment.valueOf("left"));
    NetPrice_editor.setWrapping(true);
    NetPrice_editor.bindText("bapi_po_getdetail_input.Output.Po_Items.Net_Price");
    NetPrice.setTableCellEditor(_Net_Price_editor);
    Table.addColumn(Net_Price);
    I can see from R/3 back end the values coming with decimal values even if the decimal positions are null. Any suggestions will be very helpful.
    With Best Regards,
    Prabahar N.R

  • Cinema display serial number from plist

    Hi, I need help getting my cinema display serial number from an old Plist file.  My office was broken into recently and someone made off with the monitor.  It's a long shot but I thought I could find the serial number for the campus police.  I was able to find an old com.apple.windowserver.plist file that had some information for the display.  I tried the command <defaults read ./com.apple.windowserver.plist> and came up with the following.  Problem is they don't look like serial numbers for a cinema display.  Any suggestions? 
                    DisplayID = 69530633;
                    DisplayProductID = 37430;
                    DisplaySerialNumber = 42039688;
                    DisplayVendorID = 1552;

    Hi ,
    Go to /Library/Preferences/com.apple.windowserver.plist. Open this with TextWrangler or a similar utility. Look for a DisplaySerialNumber key with an integer value that isn't 0. With any luck, this should be the s/n of your display.
    If you haven't used this display for a while, the records of it may be gone.
    Also, it appears that this isn't guaranteed. Double-check if possible.

  • I bought a Mac Book Pro retina display, Serial Number  C02J2****2, on 8/11/2012. Unfortunately, I am unable to download updates from the App store.Whenever I tried to download updates, it shows me an error message, "we could not complete your request. t

    I bought a Mac Book Pro retina display, Serial Number  C02J*****2, on 8/11/2012. Unfortunately, I am unable to download updates from the App store.Whenever I tried to download updates, it shows me an error message, "we could not complete your request. there is an error in the App Store. Try again later (100). Your Apple ID has been disabled, contact iTune support". However,the problem still persists even after my password has been successfully reset. What is is the error in the app store? I really need help to resolve this issue.
    Moreover,I also need help how to update to the mountain lion free of charge as my Mac pro is four(4) days old.
    Sincerely
    Asrat Kahsay
    N.B. I'M not exactly sure the operating system is "Mac OS X v10.7.x". However, I do know for sure it's Mac OS X v10.7.4
    <Edited by Host>

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    The OS X Mt Lion up-to-date program;
    http://www.apple.com/osx/uptodate/

  • Message-Popup: How to display a number (from variable) in hex-format?

    Hello,
    i have a numeric FileGlobal that is display in a MessagePopup-step with str(FileGlobal.param1)
    How can i change this that it display the number as hexvalue.
    For example if Number is a 10, then the MessagePopup should display a 0xA.
    Thanks for help
    Solved!
    Go to Solution.

    HI,
    You should try this expression Str(FileGlobal.param1,"%X",1 ,True)
    Hope this helps
    Rodéric L
    Certified LabVIEW Architect

  • Crystal Report V9 do not display decimal value HELP!

    <p>I have a field in Informix data type is Decimal(6,2)</p><p>when i used the field in the report, the decimal is not displayed</p><p>example: field1 = 305.50, in crystal report it only displayed 305.00, already setup the formatting. any possible solution?, please help!</p>

    <p>have check all the options in my pc and crystal report, all seems to be ok, and have tried displaying an informix field decimal(5,2), and it displays ok (154.23) in my crystal report, but when trying to display the field decimal(6,2) crystal report display decimal up to 99.99, but when it reaches 100+, it will not display the decimal, very weird, help.</p><p>have tried the formula as well but still doesnt work.</p><p>any other possible solutions, pls help, thanks.</p>

  • How to convet a decimal number of in to base 64.

    Hi friends,
    my requirement is how to convet a decimal number of in to base 64.
    ex:decimal number could be any type 1,1.2,-1,-1.2 etc
    i found an API Base64.java but iam not able to use .
    Please Help me out.

    try this
    Typecast your array of integers to Byte[] and use method byteArrayToBase64() as:
    String encodeArray = Base64.byteArrayToBase64( new byte[]{ 3, 34, 116, 9 } );Also, browse the below link for more details
    http://kickjava.com/src/java/util/prefs/Base64.java.htm
    Message was edited by:
    Mayank_03

  • When I receive text messages, it displays phone number instead of contact name.

    I updated to iOS 5 on my iPhone 4 over the weekend. Since updating to iOS 5, all of my text messages show up with a phone number listed instead of the contacts name. I checked my contact info and all the contact information is listed and the numbers under the contact are correct. Has anyone else had this issue and if so have you discovered any resolutions?

    Following a tip from another poster, I was able to fix the issue (temporarily).
    This worked for me on Verizon.
    I dialed *228 on my Verizon phone. I pressed "1" to activate it over the air. I then went into task manager and killed all the running apps.. Waited a few minutes.
    The next text I got displayed the number correctly!.. Until I rebooted, that is.
    Ps. PLEASE, call Apple and speak with a senior engineer on this. They can't fix it if they don't know it's a problem! (800) MY-IPHONE

  • Display Extension Number Instead of Switchboard Number

    Hi,
    We are using CUCM system in one of our branch office, we want to display extension number instead of switchboard number when we call external. But the telecom company said the dial information we send is "Unknown", need to be changed to "National Effective"... The voice gateway is C2951 and it's configured by vendor before; I can't find any configuration related to that, or maybe there wasn't any. Can someone help with this? Thanks.

    Make sure the phones have external phone number mask and under route pattern you have Use Calling Party's External Phone Number Mask - checked. Then follow the below to set the called party number plan:
    If its a MGCP gateway then under the route pattern>called party transfomrations> set the called party number type to local/national/international depending for the respective route pattern.
    Review: http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/8_5_1/ccmcfg/bccm-851-cm/b03cldpt.html#wp1350852
    If its H323/SIP you can use translation rules. Review the below document:
    http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html#type_plan
    -Terry
    Please rate all helpful posts

  • I can't use a decimal number in a update routine

    Hi,
    I want to use a decimal number in a udate routine (in a updating rule). I've a code similar to this:
    IF COMM_STRUCTURE-/BIC/ZSATIAUX1 LT 1,5.
      RESULT = 'GOOD'.
    And when I save the routine I get the following error:
    E:Comma without preceding colon (after IF ?).
    The COMM_STRUCTURE-/BIC/ZSATIAUX1 field is numeric field with three decimal positions.
    Can anybody tell me why I can't use decimals in my routine?
    Thanks in advance.
    Regards.

    Hi,
    Try following code:
    Data: Val type COMM_STRUCTURE-/BIC/ZSATIAUX1 .
    val = 1.5.
    IF COMM_STRUCTURE-/BIC/ZSATIAUX1 LT val.
    RESULT = 'GOOD'.
    endif.
    Regards,
    Geetanjali

  • How do I display the number of messages in a message folder under version 3.1.2?

    I want to display the number of messages (read and unread) next to the folder name as in my previous version.
    I used to go to Tools...Options...Advanced...General Tab and check "Show expanded columns in the folder pane".

    Read the Release Notes for Thunderbird, that issue is covered. Scroll down to "Known Issues", "All Systems", second paragraph: https://support.mozilla.com/en-US/questions/748278
    As Quarantine said, alway post to Thunderbird questions to one of the 2 forums that he listed in his response.

Maybe you are looking for

  • Error Mes: You can't open your curr photo library using this vers of iphoto

    I am running iphoto v5 and the photo library was loaded under iphoto 5. Do I have something in the wrong place. ~pictures/iphoto library

  • Not all checked songs are syncing to my iPhone (no error messages)

    I posted this question a month ago and didn't receive any replies. I'm hoping somebody stumbles upon it with a suggestion. Thanks! My iTunes library shows 1743 songs, but ony 613 songs get synced to my iPhone. I'm using iTunes 8.1.1.10, iPhone 2.2.1,

  • Send form. data from standalone pdf to LC Forms

    Hello, I am new in Adobe LC ES platform and would like to ask for advice with following. I need to provide user with a standalone pdf form, user should then be able to fill the form and send it to LiveCycle Forms server. I originally thought that eas

  • How sturdy is this thing?

    I was wondering, how sturdy is this ibook? Mine is 3 months old and it seems so fragile to me. anyone have any ideas on how strong this thing is? the new dell laptop in the house seems 100 times sturdier than this 12" ibook.

  • Error in Media Sales Order Generation....... URGENT

    The problem is that for this one particular BP when i  try  to  create the media sales order ( in IS - MSD module ) through jksdorder01 it gives an error that the order is already  existing. So i  tried to  delete it through jksdorder03 , then it say