To_number default format

My question is actually related to my answer to Trigger for changing decimal symbol (comma to point)
What is the default format for to_number? The default format for to_char(number) is TM9, but I cannot figure out the default format for to_number.
Ok, here is my puzzle :
SQL> alter session set nls_numeric_characters=',.';
SQL> select STRING, to_number(string) from x;
STRING          TO_NUMBER(STRING)
-0,000000000001        -1,000E-12
999999999999999        1,0000E+15
1e+25                  1,0000E+25try to do this without alter session but with to_number(string,<fmt>,'nls_numeric_characters='',.''');
An ice-cream for the first to find out the right fmt :-)
Regards
Laurent

roll your own NLS-converter :
col value format 9.9999999999999EEEE
select string, to_number(translate(string  , ',.' , '.' )) value
  from (      select '-0,000000000001'    string from dual
        union select '999999999999999'    string from dual
        union select '1E+25'              string from dual
        union select '123.456.789,012345' string from dual
       ) A
STRING                               VALUE
-0,000000000001       -1.0000000000000E-12
123.456.789,012345     1.2345678901235E+08
1E+25                  1.0000000000000E+25
999999999999999        1.0000000000000E+15
  didn't find any other way out so far

Similar Messages

  • Use the default format and partition step to format disk0 partition 1 in multiple disks sutiation

    As we know,we need to disable the default format and partition step in ts to let mdt deploy os on C and leave the other partitions stay safe when there is only one disk on pc,and the way of installing operation system is logical drive letter store in a varible.
    But what if there are 2 disks on pc,and for a record the disk 0 is always the OS disk,don't need to confirmed this.How can we modify the format and partition step to format only C on disk0 under this condition?then lead the mdt to do the rest deployment
    by itself.
    Thanks

    You are pushing up against the design limits of MDT, and the more complex and/or arbitrary the disk configuration the harder it is for MDT to perform installations.
    If you want to maintain the *existing* disk configuration, and just update the OS present, then the recommended course of action is to run MDT from *within* the OS (cscript.exe
    \\server\deploymentshare$\scripts\litetouch.vbs), not from WinPE. When you do this, it's called a "refresh" scenario. MDT can capture the user files via USMT, and it knows which
    partitions to use, because it's launched from within the OS itself.
    Disabling the default Format and Partition step has other unintended consequences.
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • How to Change default format type in output device

    Hi all,
    I want to change the default format type from X_65_80 to another for all users.
    Can anyone tell me the process.
    Platform: SAP ECC 5.0 + Oracle 9.2.0.7 + HP UX
    Thanks in advance
    Regards
    Eshwar

    Hi Sam,
    Thanks for the reply.
    Where can I select the required format type as default for all reports.
    I have checked in SPAD -> Extended Admin -> Device Types -> Format Types. But I did not find any option to set the format type as default for all reports for all users.
    Regards
    Eshwar

  • How do you set a default format property for a formula defined in the AWM?

    Is there a way to define a default format property for a formula that I create in the AW?
    For example, if I define a formula in AW I can assign it a datatype of decimal. But what property do I need to add if want that formula to by DEFAULT always display a certain way, regardless if I use the Discover Plus with OLAP option or OracleBI Spreadsheet Addin?
    Example: want to display it by default, in the AW cube, as being associated to a format of 00.0000 or 00.0000% or $###,##0.00 etc. This way, no mater what tool I use to view the cube, it will by default inherit my default format (set in the AW).
    Thanks.

    Okay, but if I use the out-of-the-box products Oracle provides (ie: Discover Plus with Olap, and the OracleBI Spreadsheet Addin) I still dont understand what my solution is?
    The only other solution we tried was to create formulas using AWM template files. The issue here is trying to find out what property syntax needs to be added to the XML code, so that my formula, by default, is associated to a certain formating style (ie: 00.00). And then when you reference that formula in those out-of-the-box Oracle products, it displays as expected.

  • Can't get surround sound to work while default format is 96000Khz

    Hello,
    I finally figured out that for some reason I can play 5.1 surround sound if I choose the 24bit/48000Kh as the default format from the realtek manager, or for that matter from the Sound control panel.  But if i choose the 24bit/96000Kh from the realtek sound manager I only get stereo sound when played either from WMP or WMC.
    Does anyone know if this is a limitation of the sound card I have?
    According to the spec's I should have the for the s3480a are:
    Sound/Audio
    High Definition 6-channel audio
    ALC 888S chipset
    Also, and maybe for another post, i bought HDMI cable because I have a TV Tuner card in this unit but I can't seem to get it to work...
    HP ENVY 17-j005tx Notebook, HP ENVY Recline 27-k001a, HP ProLiant MicroServer Gen8 G2020T, HP MediaSmart EX495 Server, HP MediaVault 2020, HP ENVY 120 AiO Printer

    I've seen similar OEM "configurations" with RealTek codecs and the sound hardware on the motherboard. I "think" channel limitations at higher Khs are either a real hardware/codec limitations or the folks that design the PC are safeguarding against problems that show up when multi-channel is enabled at higher Khs (power draw, popping noises, whatever).
    This is total speculation on part.
    I have seen cases where updating the sound codec using the latest drivers available from realtek.tw allows you to select from more hz and channel options. But keep in mind more problems might pop up if you select a hz range beyond 48Mhz.
    ... an HP employee expressing his own opinion.
    Please post rather than send me a Message. It's good for the community and I might not be able to get back quickly. - Thank you.

  • Change default format in "save as" file format window

    I month ago I asked the following question...
    "How do I change the file format order that is listed in the "save as" file format window? Instead of having "Photoshop" listed as the default file, I'd like to have JPEG at the top, then TIFF, PSD, etc. I have to constantly scroll down the list to find JPEG."
    Recently while selecting JPEG in the "save as" format window, I accidently selected "Large Document Format" while holding down either "control", "option", "apple key", or "shift", or a combination of keys. Now the default format in the format window is "Large Document Format" (ext.PSB). I've changed the default from "Photoshop" which is still listed at the top, to "Large Document Format". I'd like to change the default to "JPEG" but I cannot replicate the correct key(s) to change the default format in the window.

    Hello TomGroup...
    I did not receive a satisfactory answer to the question. Yes, you can go
    into the Scripts but that is for experts and it is too much work.
    Aloha... Darrell
    From: TomGroupGA <[email protected]>
    Reply-To: <[email protected]>
    Date: Fri, 08 Apr 2011 12:31:07 -0600
    To: Darrell Wong <[email protected]>
    Subject: Change default format in "save as" file
    format window
    Any updates on this issue?
    I have a similar situation in that no matter what I'm working on, when I
    click "Save As' then the default format option is always .tiff    If I save
    as jpg and then go onto my next file, the default is still tiff again when I
    try to save  No matter what I try, tiff is also my default selection.  It's
    just one of those things that takes a mere 5 seconds to click the dropdown
    and select .jpg, but 5 seconds times a couple hundred files per day...it
    adds up.

  • Elements default format appear as blocks instead of inline text

    I am creating an EDD and I have some issues with the way FrameMaker breaks each element instead of leaving it inline. This wouldn't be a problem if I was allowed to format children instead of elements; then I could fix the problems I am having.
    Short question is, is there a way to tell FrameMaker to open unformatted elements inline instead of as blocks?
    For instance, I have acronym elements within the text that wrap the definition and then wrap the term. When formatting it, it must show up as text and then the acronym after it with parentheses around it. I was able to make that happen by using run-ins, but the acronym element itself is no longer a part of the para. It is broken down to its own paragraph.
    Example: <para>Reference will be made to the <acronym><def>Air Force</def><term>AF</term></acronym> serial number.</para>
    should look like this:
    Reference will be made to the Air Force (AF) serial number.
    but instead looks like this:
    Reference will be made to the
    Air Force (AF) serial number.
    because I can't edit the EDD to have any para element with an acronym within it to format as a run-in.

    If you have solved the problem, fine; but let me clarify a few things:
    Example: <para>Reference will be made to the <acronym><def>Air Force</def><term>AF</term></acronym> serial number.</para>
    I also have <acronym> as a text range and it does not appear inline; it is still blocked as a paragraph.
    The FrameMaker EDD rules assume every element is to be formatted as a paragraph unless you tell it otherwise. Giving the acronym element text range formatting (inline) is not enough; you must also set def and term elements to be text range. This is a little bit of a guess on my part, because I have never tried putting paragraph-formatted elements inside a text-range-formatted element.
    Regarding the children without parents, the parent is there in the structure view but when typing down through the page view to make sure paragraph tags were placed correctly, some don't appear.
    This is still not clear; every element (except the document root element) must have a parent; othewise, the structure is invalid. You see the parent in the structure view, so the parent IS there.
    Not every element has to have a paragraph tag associated with it. The typical examples are elements that serve no formatting purpose but simply contain other elements. For example, suppose you have a chapter that has several sections. Each section may have a title element and several paragraph elements. The title element and the paragraph elements are formatted as paragraphs, each with a paragraph tag (if the EDD assigns paragraph tags). The containing section element does not have a paragraph tag; it simply contains the title and paragraph elements.
    NOTE that the EDD can assign formatting without assigning a paragraph tag. Maybe this is the cause of your concern. If your EDD is doing this, then some elements will not have tags, even thought the formatting is correct. {CAVEAT: My EDD assigns a default format list to the root element in a document. Except for a very few elements, all formatting is done as overrides to the default tag. In my case, each element displays the same tag, the default tag. I am not sure what happens when NO tag is assigned as the default.}}
    I haven't even begun to grasp how I'm going to work out building the
    LEP, TOC, LOI, LOT, and Indices yet. I know the build can be done
    manually, because I've done it and have templates for that already
    (although they are about ten years old).
    You likely need not do these lists manually. In a structured document or book, you can create these lists either as lists of paragraph tags (as one does in unstructured documents) or as lists of elements (for example, an LOT is a list of Table elements, if Table is the name of your table element). The elements in the list need not have paragraph tags in the document; typically they do not. See the FrameMaker user manual for details.
    Van

  • IPhoto sends emails in Rich format even if the default format is Plain Text

    Detailed Summary (wouldn't fit in the Topic Subject):
    iPhoto will always send emails in Rich Text format even if Mail application is set to send all emails in Plain Text format. In other words, emails initiated from iPhoto ignore the selected Message Format setting in the Mail application.
    Description:
    It is a better practice to email photos in the Plain Text format instead of Rich Text format so recipients using different email clients can easily download attached pictures as regular attached files.
    The workaround is to change the email format to Plain Text before sending it. This wouldn't be such a problem if you could make this a permanent setting however this is not possible. The Mail application has a specific setting for this but iPhoto simply ignores it. This is the issue I am raising here.
    How to reproduce the problem:
    1. Open the Mail application (Assuming you already have an email account configured)
    2. Go to Preferences, Composing tab
    3. Change Message Format to "Plain Text"
    4. Optional step to verify that the Plain Text is now the default format: Start a new email. Click on menu Format and you'll see "Make Rich Text" available, which means the current email is in fact in Text Format. Close this email.
    5. Open iPhoto
    6. Select one or more photos and click on the "Email" icon on the lower right hand side
    7. A details popup will open, click on "Compose Message"
    8. The Mail application will open as well as a New Email window with the Subject field filled out and the selected photos in the email body
    9. Click on the menu Format
    Expected: Th last option should be "Make Rich Text" indicating that the current email is in Plain Text format as determined by the Mail settings (steps 1-5 above)
    Actual: Last option is "Make Plain Text" which means the current email is fact in the Rich Text format which does not match the Mail application settings.
    Can we at least get an acknowledgement from Apple that this is a known issue? Also, is there a fix for this? It is not an acceptable solution to tell users to manually select Plain Text for every email. I am tired of asking people to resend emails that way. That is a workaround, not a solution.
    Test details:
    - Mail Version 4.4 (1082)
    - iPhoto Version 8.1.2 (424)
    - OSX Version 10.6.5

    iPhoto menu -> Provide iPhoto Feedback to report a bug.
    Can we at least get an acknowledgement from Apple that this is a known issue?
    Need to ask Apple that one.
    Regards
    TD

  • Table Problems (Cell Shading and Default Format from EDD and Template)

    I have two problems related to tables using Structured FrameMaker (Version 10), whilst in-processing XML.
    I've designed two different table formats in my Template; Format A with black shading - 30% for THead and 3% for row, and Format B with blue shading - 30% for THead and 3% for row.
    If I create a structured document from scratch and insert a table, I get the required Black (30%) and Black (3%) shading.   If I then insert an informaltable, I get the required Blue (30%) and Blue (3%) shading.
    Although I've given the two table types different default formats in the EDD - Format A for table and Format B for informaltable - when I open the XML file (normally) from within FrameMaker I notice that all the tables default to Format A (black shading).   When I then import my EDD table should stay as Format A and informaltable should change to Format I.   This doesn't happen; they all stay at Format A.
    I can change informaltable by manually applying Format I, this worksI.  Obviously, with long documents which might have hundreds of tables we can't afford the time and manpower to do such things one at a time by hand.
    Do any of the Structure gurus have a fix for this, or can someone give me a hint of what I might be doing wrong?
    The second, but related question was a general one.   I see that Adobe says
    "Tables
    FrameMaker table formats are only partially integrated with the structure model. The content of
    a FrameMaker table is always fully structured, but the control over cell border ruling is limited and
    there is no structure format control over cell shading."
    I believe it could be useful to apply cell shading on an individual cell basis (although I'm not sure whether this is possible at the XML level - where someboddy might give an element an attribute of, say, shading (with options, such as, green, red, blue, yellow all at, say, 30%, with a default of red, for example.
    I've seen that there has been mention of plugins to achieve cell shading in structure; does anyone have an experience with such things, more to the point, can anyone point me in the right direction?   I don't mind paying fo a solution which I can implement myself.
    Any help or advice would be much appreciated.
    Regards
    Chris

    Hi,
    could you please provide some details on the EDD, RWR and some example XML?
    My wild guess goes into the direction of the RWR not containing enough information that get written out into XML.
    We're using table formatting with shaders too (using an attribute to control the specific formatting of each table) and it works like a charm in FM9 and FM11 when roundtripping.
    The context rules are used in the table group (i.e. tgroup element). This might already solve the issue .
    Cheers Alex

  • Dynamic Pages: how to overide the default format returned from the oracle query.

    When writing a dynamic page, portal always displays any return from a database query in a default format or grey background table:
    <TABLE border="0" cellspacing=0 cellpadding=2 style="background-color:#E0E0D0">
    <TR>
    <TH ALIGN="LEFT" style="background-color:#C0C0A0" > </TH>
    </TR>
    <TD ALIGN="LEFT" valign="TOP" WIDTH="0">
    Is there anyway to change this or this how the
    function
    PORTAL30.wwv_render_report.show always works?
    Thanks in advance!

    James,
    Please see posting http://technet.oracle.com:89/ubb/Forum70/HTML/000073.html.
    Just a reminder, please search the forum before posting your question. It's quite likely that someone else has already asked the same question.
    Regards,
    Jerry
    null

  • Unwanted Default Formatting with import XML

    I have a problem of unwanted default formatting with import XML. Under InDesign CS6, I  import XML with merge mode.
    One frame is difficult to apply with the placeholder, I should put the XML element A inside by hand. InDesign automatically applies the character style of the child element B to the following text in element A.
    I tried the steps of this article http://indesignsecrets.com/fixing-unwanted-default-formatting.php/comment-page-1#comment-5 62875
    But it doesn't work for me.
    Dose anyone have an idea? Thanks.

    Kasyan, I agree with you!
    So this is what i did in xslt.
    First I added the following namespace to the stylesheet.
    xmlns:file="http://www.jclark.com/xt/java/java.io.File"
    This is not supported by indesign, you have to do this with a parser. I used saxon to parse the xml.
    And this is the part for the existing file lookup.
    If the file exists the image is placed as a href, if it doesn't exist i put the name of the image between brackets. In this case we can see in which image doesn't exist.
    <xsl:choose>
         <xsl:when test="file:exists(file:new(string($imagefile)))">                                         
              <xsl:element name="Articleimage">
                   <xsl:attribute name="href">file://../images/<xsl:value-of select="Properties/Property[@field = 9]"/></xsl:attribute>
              </xsl:element>
          </xsl:when>
          <xsl:otherwise>
              <xsl:text>[</xsl:text><xsl:value-of select="Properties/Property[@field = 9]"/><xsl:text>]</xsl:text>
          </xsl:otherwise>
    </xsl:choose>
    I hope it helps for others.
    Good luck!
    Glen

  • Changing Screen Capture Default Format

    I'm trying to change the default format of the screen capture created by shift-command-4 from PDF to PNG. I set the string in com.apple.screencapture to png, but it doesn't seem to be "sticking". Any ideas?

    Maybe I should specify what I'm looking for, sorry. In another experiment in customization, when I tried to rename my Trash, I found that the new name I put in the Property List wouldn't "stick" unless I executed "killall Dock" in the Terminal to restart the dock.
    I'm trying to find out what I should restart to have my screencapture format change "stick". Unless maybe that is totally off track?!

  • Screen Capture default format in Tiger OS

    Dear Mac OS Fellows:
    In Tiger OS, the default file format for screen capture is "PNG." I want to change it to "PDF"!
    I found the command tips, never worked for me, on the net=>
    defaults write com.apple.screencapture type pdf
    killall -HUP SystemUIServer
    I tried those 2 commands. The default format is stil set to "PNG."
    Help please!
    Max NY

    Max--
    The reason why I try to capture screens with "PDF"
    export, is that I want to preserve the "vector"
    attribute of the type.
    To no avail! After saving capture as a PDF, I zoom in
    400% to check on the edge of the type. Disappointing
    enough! All become pixelated!
    Hmm. This may not be possible. The way I understand it, the screen is a bitmap, rendered by the OS. So, yes you can get a PDF of the screen, but it's just a bitmap in a PDF. That would be the same for any kind of application's windows where the text was drawn on screen, like a dialog box.
    The only standard tool I know of is the "Web Capture"
    in Acrobat Pro. v.7.
    Well, if you're interested in web pages, you can always just use "Print," but instead of printing, save your web page to a PDF from the print dialog. But, since you're "printing," you may find the printout isn't exactly like the web page. Especially if they use a different style sheet for print media.
    You can use this same trick with other applications, too, as long as they can print (and as long as they don't "rasterize," i.e., make bitmaps of, the type in their documents before they send them to the printer).
    I've never heard of a tool that could do what you want with any window. I think one would have to intercept the commands going to the graphics system before they actually get rendered for the screen, and I'm not sure that's possible.
    charlie

  • Could I define the DAT-Format as default format in Diadem 9.x or 10.x ?

    Hello,
    could I define the old DAT-format as default format in the different dialog (navigator etc..)  in the new Version of diadem  (9 or 10) ?
    Thanks

    Hello,
    unfortunately this is not possible.
    Since DIAdem 9 we also have the wish to configure it, but ever got the answer that the new TDM-fomat is the new standard.
    For your own you could write a little one-row-script like
    Call FileNameGet("NAVIGATOR", "FileRead", DataDrvUser&"*.dat", "DD8x")
    and connect it with a SCRIPT - shortcut to start it with e.g. the SHIFT+F1 - keys...
    With regards
    Sven

  • About default format setting

    Hi all,
    I want to know where can I set the default format of views in Analyses, Views and so on in OBIEE 11G, such as font, cell, and border controls, background color..
    THANK YOU IN ADVANCE
    Edited by: Katheriane on 2010-12-29 上午1:17

    Take any column properties.
    You have an option "Save as default" with 3 sub options.
    1) Restore default
    2) Save as system wide default for this column
    3) Save as system wide default for this datatype
    If you select the 3rd option the format you've applied is set for all columns of that datatype.

Maybe you are looking for

  • Error in deploying the war file on to the weblogic server(6.1)

    Hi, I created the war file and tried to deploy it on the weblogic server 6.1 it is unable to deploy and is give these errors i am unable to find out the problem.Can any one help me out in finding why this is so. Help will be appreciated java.lang.Nul

  • Sound Blaster Instability - Are you affected? (Stability Test for "Squealing", et

    I've created a test that works on my Sound Blaster Audigy 2 ZS with my particular hardware configuration as a proof of concept of the instability ( "high-pitched squealing" ) issues I have. (I have an ASUS P5N-E SLI motherboard.) I am seeking to find

  • Vital Program no longer works after updating JAVA SE - Need help fast!

    System Info:     Window Vista Home Premium (Service Pak 2)           Intel Core 2 CPU T5200 @1.60 GHz           RAM     2 GB           32 bit OS JAVA 6 SE Update 18 (build 1.6.0_18_b07) I am just an old guy, not a techie, with diabetes who uses Bayer

  • OC4J_SECURITY is down. SSO: FAILED TO START SSO SERVER

    In our Application Server 10.1.2.3.0, OC4J_SECURITY is down. Log entries in opmn log of OC4J_SECURITY: 09/08/20 11:13:37 Start process 09/08/20 11:13:43 Warning: Error reading transaction-log file (/export/home/oracle/AS_HOME/infra/j2ee/OC4J_SECURITY

  • No video with Skype

    When using Skype on iPhone 4s with IOS 5.1, my counterpart can see me, but I only see a black box where my image should be. It works OK on my iPad2, also with IOS 5.1. Thank for any good advice, Jean