Keeping zero values in a decimal number

I was hoping someone may have an idea how to solve a current problem of mine....
We have a third party script (this we can update!) which defines a table in Oracle 10.2 database as:
OBJECTID NUMBER (38)
MASS NUMBER (6,3)
ORI NUMBER (4,1)
SHAPE NUMBER (38)
We have a script developed by the same third party to load data into the table. This again we can update!
The problem arises; when different third party software reads the MASS column. The SQL here, we can not change! So can not use the to_char function.
If we insert 4 into MASS, we would like to see 4.000 (this shows the users that this measurement is taken in mm's)
Is there anything we can change in the CREATE table script that would result in the output as required? Other than setting the MASS column to a VARCHAR2.
Help much appreciated.

Hi Mark,
Thank you very much for following this up. I look forward to the answer from ESRI. Hopefully, it was something very obvious that I missed.
I just wonder from the comment, ' They simply have to alter the number precision' - is this on the Oracle-side or the ArcMap-side.
I've read the following:
http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Geodatabase_field_data_types
"...Specifying the precision and scale allows you to restrict the range of values and number formats a field can accept, giving you greater control. For example, if you specify a float with a precision of 4 and a scale of 2, the field will accept 12.34. If you try to enter 12.345 into the field, an error message would display, as this exceeds the maximum number of digits and decimal places allowed. On the other hand, if you specify a float with a precision of 5 and a scale of 3, the field would let you enter the 12.345...."
However, does this mean if I (...well not me, one of our GIS users) inserts 4 into the database I want to see it as 4.000 in ArcMap? To represent a measurement taken in mm's.
We use here Oracle 10.2, ESRI SDE 9.1, ESRI ArcMap 9.1, Solaris 10
Message was edited by:
dhuhkosi

Similar Messages

  • Prefix zero to a decimal number

    Hi All,
    I need to send a value to third party system. The value is a decimal number but before sending it i need to prefix zero.
    Eg: 1.25---> 00000000001.25
    The Functiom module CONVERSION_EXIT_ALPHA_INPUT works only for integers.
    Can you please suggest a function module which wil satisfy my requirement.
    Thanks
    Rohit

    Use a For loop to index into the array, then use the Not Equal To Zero comparison to convert it to true/false. Then Index out of the For and use the Bool Array to Int from the boolean pallete.
    Here is an example in 8.2
    Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
    using LV 2010 SP 1, Windows 7
    Attachments:
    Convert Bit Array to Int.vi ‏8 KB

  • Zero Value Invoice

    I have a requirement is to check that the intercompany billing document is not billed with zero value.  If a document has the zero value incorrectly, then stop it from saving - the next billing run will correct the issue. 
    Can you please tell me whether this code has to be written in a copy routine or in some exit.If so kindly tell me the name of the copy routine or exit that can be used in this case.I have checked all the available exits in SAPLV60A but they don't seem to serve my purpose.

    Please check the tcode VOFM and copying requirements -->billing orders .
    In this there will be a list of routines where in u can trigger an error for hte functionality .
    based on a delivery shippment this routine is called at the time of invoice creation and here you can add the code for the zero value .
    click the routine number this will be a include and say source text button on the top .
    you need to have access key to do the same .
    Please check with ur fucntional consultant the same if at all any user exit is not serving the purpose .
    regards,
    vijay

  • TS3274 My Air Ipad keeps switching to voice-over, it will not allow me to enter my password. It keeps saying that I've entered the wrong password.  It's asking for a password of zero value. How can I correct this.

    My Air Ipad keeps switching to voice-over, and it will not allow me to enter my password. It keeps saying that I've entered the wrong password.  It's asking for a password of zero value. When I enter my personal password that I created, it say it the wrong password, then it say try again in 5 minutes and shuts itself down.  Is anyone else having this issue and how can I fix it?

    Hello SharonLo
    Your best bet would be to restore your iPad if it is not accepting your passcode. Check out the article below to walk you putting your iPad into recovery mode and using iTunes to restore it.
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
    While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    Continue holding the Home button until you see the Connect to iTunes screen.
    iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device.
    Regards,
    -Norm G.

  • Round a double value to a specific number of decimal places?

    Hello,
    Is there standard java function which will round a double value to a specified number of decimal places? Something like:
    double d = 4.34523;
    d = round(d, 2);
    where d is finally assigned the value of 4.34?
    Thanks!
    -exits

    No, because doubles hold values in binary (as do all values in a computer, of course, but there's no additional stuff to indicate decimal values).
    If you want values with specific rounding rules in decimal, use java.math.BigDecimal.
    If you just want to format the number with a specified number of decimal digits, use java.text.DecimalNumber.

  • Regarding Converting the Decimal number into rounded value...

    Hi,
       i have a decimal number as "   58240990.00 " , i wanted this to rounded value .
      for example I am expecting to see 58241 for the above number.
      shell we can do in any way.. if so please let me knw fast.. it is urgent..
      thanks in advance.
    thanks,
    Suresh..

    Dear Suresh,
    Go through the following code chunk:
    DATA : p TYPE p DECIMALS 2 VALUE '2.49'.
    DATA i TYPE i.
    i = CEIL( p ).
    WRITE : i.
    Regards,
    Abir
    Don't forget to award Points *

  • How to convert fractional decimal number to hex number?

    Hi,
    Can any one help me to convert the fractional decimal number to its equivalent hex number and vice versa ?
    if u have any code please share.
    thanks
    neethu

    neethukk wrote:
    Can any one help me to convert the fractional decimal number to its equivalent hex number and vice versa ?
    if u have any code please share.
    This question is not clear at all.
    "Fractional decimal" is not a data type, but a way of formatting in readable form using numeric characters and a decimal separator.
    Same to "hex number", but only for integers.
    What do you mean by "convert"? Do you want to keep the value the same or retain the bit pattern of the numeric data type?
    Hexadecimal is for integers. Are you talking about fixed point?
    We clearly need significantly more information. What are the input and output data types? What are you actually trying to do?
    Do you have an example input and corresponding output?
    LabVIEW Champion . Do more with less code and in less time .

  • Zero values in stacked column

    Hello all, I'm doing some reports in apex 4 and I'd like to hide the zero values. Could it be possible?
    I've read most of anychart doc and xml reference but I can't seem to find what I'm looking for.
    The data format section in anychart doc: http://www.anychart.com/products/anychart/docs/users-guide/number-formatting.html
    here is my problem:
    http://imgur.com/wot2u.jpg
    like always thanks in advance....

    Hello Hillary, thanks for the input...
    about your comments first of all I've already considered the turning off of the labels and I'm keeping that workaround as an eventual option.
    about the data set, I couldn't imagine a data set with restiricted zero (or null) values. i'll try to expliain why with a sample data set (maybe you can paste it in excel for a better view):
    group_label;value1;value2;value3;value4
    group1; 2 3 0 2
    group2; 1 0 0 3
    group3; 0 2 1 1
    so you see here how each group will form a bar. group1 will have stacked values of 2,3,0,2. the where clause wont work given there is a value of that column needed to form the group3 bar.
    anyway, maybe if I wait a while some will come up with the same problem.
    thanks again!

  • When using a chart in Pages, the first zero is deleted in any number beginning with a zero

    When using a chart in Pages, the first zero is deleted in any number beginning with a zero (for example, 055). How do I stop this?

    The leading zero in the value 55 is unnecessary, so Numbers eliminates it for cells formatted as Number or Automatic. A cell formatted as Text prior to making the entry will take whatever you type into it and keep it as entered. A cell formatted as Numeral System will display as many places as you tell it to, and will add zeros as necessary without your even having to type them in.
    Jerry

  • How can I limit a double value to two decimal place?

    How can I limit a double value to two decimal place?
    Java keeps on adding zero's to a simple double subtraction:
    1497 - 179.64 = 1317.3600000000001The answer must have been simply: 1317.36

    If the trouble is with output ...
    If the trouble is with value accuracy ...The trouble is with OPs understanding of and/or expectations of IEEE 754 floating point numbers. o_O
    [And it's probably a view (output) issue.]
    how can i actually use numberformat to cut those
    unwanted decimal places?Read the API - Puce already provided the link.

  • Rounding off to a variable value to 4 decimal values in sap script ouput

    Hi All,
    I have a value getting displayed in sap script output as 235.6789 i want to Round off this variable value to 4 decimal values!
    What is the formatting option need to be used & how!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    1.In layout just call that variable, where you need like:
    &variable(.4)&.
    Just see these:
    &symbol(Z)&  Omit Leading Zeros 
    &symbol(S)&  Omit Leading Sign 
    &symbol(<)&  Display Leading Sign to the Left 
    &symbol(>)&  Display Leading Sign to the Right 
    &symbol(C)&  Compress Spaces 
    &symbol(.N)&  Display upto N decimal places 
    &symbol(T)&  Omit thousands separator 
    &symbol(R)&  Right justified 
    &symbol(I)&  Suppress output of the initial value
    Regards,
    If helpful reward with points(Don't forget).

  • Costing Run If RM has zero value

    Dear Friends,
    My client is going to get Raw material from parent compnay on free of cost. Now that mateial has 0 price.  This material is the part of production of finished good.
    Now If I run cost estimate or costing run then system is giving error message "" No price could be determined for material/batch xxxxxxxx"".
    How I can do this thing that free of cost raw material (has std./MAP=0) should be the part of bom and  cost estimate/costing run can be run sucessfully for finished goods.
    If with zero value it is not possible then how I can do , please sugget if possible by some setting in PP/CO.
    Thanks
    Ravi

    Dear Ravi,
    Check with this steps.
    1.Either set the check box for do not cost in the costing 1 view for that material in the material master.
    2.If this is not working means,you can remove the costing relevancy indicator for that material in the BOM,just double click on
    the item number of that particular material whose value is zero and you can find this field under the status/long text tab page.
    Check and revert back.
    Regards
    Mangalraj.S

  • TCode MIR7: Dump while deleting Parked Invoice with zero value

    Hi,
    We had parked an Invoice using TCode MIR7 with Zero Value with reference of a PO. Now as the value of invoice is zero, we want to delete it using MIR7.
    In MIR7, when we go to Invoice Document-->Delete, it results in dump. Dump is as follows:
    Error analysis
        Short text of error message:
        No document found
        Long text of error message:
        Technical information about the message:
        Message class....... "FI"
        Number.............. 124
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "SAPLFMPR" or "LFMPRU05"
        "FM_CO_DOCUMENT_DELETE"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which actions and input led to the error.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLFMPR" - in
         "FM_CO_DOCUMENT_DELETE".
        The main program was "SAPLMR1M ".
        In the source code you have the termination point in line 34
        of the (Include) program "LFMPRU05".
    Any help.
    Regards,
    CMC Team.

    Hi,
    Check following SAP notes:-
    1173846  (MM) Termination when deleting prepaid logistics invoices
    Reason and Prerequisites
    This problem is caused by a program error.
    1224772  (MM) Error message FI24 when deleting parked invoices
    Reason and Prerequisites
    This is due to a program error. The total amount of the parked invoice is '0'.
    Regards,
    Anand Raichura

  • How to get ATINN value based on material number and Class Type ?

    I have below SELECT stmt code which gives the correct value of atwrt based on materil no and ATINN.
    However in quality system, it is failing because in quality system "atinn" value is not 0000000381. It is different.
    So how can I get ATINN(Internal characteristic) value based on material number and Class Type?
    -Obtain the batch characterstic value for the Material******************
      SELECT atwrt
        UP TO 1 ROWS
        INTO v_charvalue
        FROM ausp
       WHERE objek = mcha-matnr
         AND atinn = '0000000381'   " 'US80_FRENCH_ON_LABEL'
         AND klart = '001'.
    THANKS N ADVANCE.

    Hi SAm,
    use the Below function module to get the Atinn for Atwrt for thr Class and MAterial combination..
    CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
          EXPORTING
            classtype          = '023'       "Class type
            object             = w_object  "Material number with Leading zeros
            no_value_descript  = 'X'      "Default X
            objecttable        = 'MCH1'    "Table name Mara or MCH1 or MARC
          TABLES
            t_class            = t_class   "It return the Batch class available for the above combination
            t_objectdata       = t_char  "Return Batch characteristics(ATWRT) and their value ATINN in this table
          EXCEPTIONS
            no_classification  = 1
            no_classtypes      = 2
            invalid_class_type = 3
            OTHERS             = 4.
    Regards,
    Prabhudas

  • Incoming payment with zero value

    Good Morning,
    I'm trying to do an incoming payment with zero value (Negative JE and Positive Invoice selected) but I have the error message: "Confirmation amount must be greater than zero". I have the Internal Reconciliations to do that, but I need to print an outgoing payment document (and with sequence number) with this.
    I'm working with Sap Business One 2007 A SP: 01 PL: 10. This option was available in previous versions. Do you know what can I do?
    Thank you.
    Regards,
    Susana Cunha.

    Dear Ms Cunha,
    I am sorry but it is not possible in 8.8 either.
    However, a workaround is adding this document with a negative value (even -1 as doc total is enough) in the same payment with antoher document that carries positive value.
    I tested this scenario in 8.8 and it worked because the postive document had a total document higher than the negative document.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team
    Edited by: Marcella Rivi on Jun 16, 2010 4:46 PM

Maybe you are looking for

  • Two remotes / two computers - chaos!

    I have just bought a MacBook that comes with a remote. I like to sit in front of tv on sofa surfing when there is nothing on. The 42"LCD tv is connected to my intel mac mini that I use as a media centre for wahtching tv and dvds on. The problem is th

  • Why can't I open my Xfinity Connect comcast mail? It shows me what's mail is availble, but can't open it.

    I click on an email and it just repeats showing the preview of what's available. I can't access any of the features of the email to compose or check sent messages, etc.

  • Labeling and ratings in CS5

    Hi: I'd like to move my image approval and organization process toward a metadata workflow. I know Bridge offers labeling and ratings of RAW formats and they are both captured in the XMP. Are there any existing concerns - that is, is this a persisten

  • Embed PDF in Captivate

    I am connecting a PDF to a click box. However, I would like the PDF to open within the Captivate movie. How can I accomplish this?

  • I Can't Change The Email On My Apple ID

    Hello There, I Want To Update A Program On My Mac, I Go Onto The App Store, I Press "Update" And It Says "Enter Your Apple ID" And "Enter Your Password" But I Can't Change The Apple ID To My Own One Because I Have To Use My Cousins Password Because I