What function does this...

How would i go about coverting '.750' to '75.0' ? What function do i use here?
My guess si to_char but how would i apply that here?
Edited by: user652714 on Apr 3, 2009 7:44 AM

And a final (?) solution, using the necessary datatype conversions and being language independent. For example, in the Netherlands the decimal symbol is a comma, not a point.
SQL> select to_char
  2         ( 100 * to_number('.750','999D000','nls_numeric_characters=''.,''')
  3         , '99999D0'
  4         , 'nls_numeric_characters=''.,'''
  5         )
  6    from dual
  7  /
TO_CHAR(
    75.0
1 rij is geselecteerd.Regards,
Rob.

Similar Messages

  • What function does this code do?

    ((l = html.indexOf("<META")) != -1)

    I guess your question is not directed at the indexOf method of the String object, which returns the position of the String passed to the method within the String on which the methode is executed, with 0 being the position of the first character in a String and a negativ value indicating, that the String passed is not included at all.
    Rather your question is regarding the
    ((l=html.indexOf("...."))!=-1)
    This is a construct you will find fairly often in java .
    The = operator assigns the value returned by html.indexOf("...") to the variable l . The term (l=html.indexOf("....")) itself returns the value of l (that is the point that you were asking for). This value is then compared with != (meaning not equal) to -1.
    This is often used in conditions (and loops) to retrieve the value of something assign it to a variable (which can be used later on) and compare it to something else.

  • Which function does this?.

    I have to do something like this......
    How will i pass values to second query like this...
    where empid in (1001,1002,1003,1005)
    Which function does this....?. Please help me.
    lost track of features of functions......done this 100 times
    before....now not working.
    Please help me ASAP. Thanks in advance.
    <cfquery name="id_sel" datasource="#edsn#">
    select empid
    from employee
    where age < 50
    </cfquery>
    <cfquery name="course_sel_q" datasource="#edsn#">
    select benefit_desc
    from benefits
    where empid in (<cfloop query="id_sel" startrow="1"
    endrow="#id_sel.recordcount#">
    #valueList(id_sel.empid,",")#</cfloop>)
    order by empid
    </cfquery>

    quote:
    Originally posted by:
    jdeline
    You're making it too complicated. See code below. It creates
    a comma-delimited list for use in your WHERE clause.
    Edit: fixed bad ValueList)( ).
    Too complicated? It's a simple join for goodness sakes. It's
    also more efficient because it only uses one trip to the database
    to get the data.

  • I'm trying to sync/back-up apps on my iPhone 3G and iTunes keeps telling me it can't complete the operation because "the apps on my iPhone cannot be determined." What the **** does this mean?!

    I'm trying to sync/back-up apps on my iPhone 3G and iTunes keeps telling me it can't complete the operation because "the apps on my iPhone cannot be determined." What the **** does this mean?!

    Same problem. Wish I knew.
    When I tried to Restore, I got an Error 13xx and it won't even do that.
    not a happy camper if a phone this expensive stops working in 2 years.

  • Consolidate Masters - what exactly does this do?

    Hi all
    I am a relativity new aperture user. every time i import images from my camera, they have the little arrow in the bottom corner to show they are referenced files.
    I can fix this by clicking file>consolidate masters and choose to move or copy them.
    Forgive the basic-ness of this question, but what exactly does this do? And why can't i import them so they are not referenced files?
    thanks again for your help

    I suggest you read the manual for this sort of questions, but anyway, here's a quick answer:
    -consolidate masters moves or copies your images to somewhere withing your library, making them managed instead of referenced.
    -the import dialog, when you connect a card has the option to copy the files to anywhere on your disk, to pictures or to the library (making them managed, and thus not showing the little arrow).
    For the advantages and disadvantages of either, check this forum or again, the manual.
    j

  • HT201210 My iPhone became wet at the beach.  I put it in rice for 4 days.  When I connect to itunes, it says the phone must be restored.  It starts and then gives either the error 2001, or 2006.  What exactly does this mean, and is it worth getting repair

    My iPhone became wet at the beach.  I put it in rice for 4 days.  When I connect to itunes, it says the phone must be restored.  It starts and then gives either the error 2001, or 2006.  What exactly does this mean, and is it worth getting repaired?
    Thank you...

    http://support.apple.com/kb/TS1275
    Water damage isn't covered by warranty, but you could always purchase a refurbished device from Apple. 

  • To what class does this method belong?

    If one sees in the documentation something like
    - (retType *) text1:(Type1 *)aType1 text2:(Type2 *)aType2;
    then to what class does this method belong? I do not see in the Objective-C documentation any way that one can tell without the 'context' in which the method is declared or defined. This makes reading the documentation very difficult (for me). What you see is not what you get. There is stuff missing.
    In my world there is no difficulty in determining the class to which a method belongs. It is stated explicitly in the method name. For example:
    PROCEDURE (self: MyClass) methodName (arg1: Type1; arg2: Type2);
    and one sees that 'methodName' belongs to 'MyClass'.
    In Objective-C how does one know the class to which a method belongs? Is it only determined by context, that is, by the fact that it is within the @implementation section or that it is within the @interface section? If that is the case then I would think that in documentation one should always be required to assert something like:
    <<MyClass>> -(retType *) text1:(Type1 *)aType1 ...
    -Doug Danforth

    PeeJay2,
    I think I now have the distinctions needed but still have a question about what you said. But first here is my current understanding. A "method" is by definition bound to *at least* one class whereas a "message" need not be bound to any class. Hence one can send any message to any class and it will either be handled or ignored. A message looks like a method signature (and maybe one but is not constrained to be one).
    The difference between C++ and Objective-C is that in C++ method calls are not messages sent to a receiver. They are just calls of the method for the dynamically bound object. That method must be syntactically correct at compile time whereas messages need not be syntactically correct for any receiver. At least that is my current understanding.
    Now my question. You state that "casting the receiver of a message will in no way alter the flow of the code". I attempted to test this with a simple program but ran into a problem (see my new posting "Multiple classes in one file?").
    Assume the following
    @class Child : Parent
    Child *child = [[Child alloc] init];
    Parent *parent = [[Parent alloc] init];
    Parent *bar;
    bar = child;
    [bar doSomething]; // (C) call to child's doSomething method?
    [(Parent *)bar doSomething]; // (P) call to parent's doSomething method?
    You comment seems to say that both case (C) and (P) give the same result. If they do then which result is it the parent's or the child's method (assuming that the child has indeed reimplemented the parent's method)? Have I understood you correctly?
    -Doug Danforth

  • HT2534 what country does this work for? no such caption as none on the paying option

    what country does this work for? no such caption as none on the paying option

    As far as I am aware it works for all countries. You are following the instructions on that page exactly e.g. it's a new account that you are trying to create and you are selecting a free app in the store and clicking on 'create Apple id' when 'buying' it ?

  • Audigy SE Varpack - $25 US - What chip does this u

    Hi,
    A new cheapo audigy card has been appearing at stores lately called the Audigy SE or Audigy SE VarPack for $25 US.
    Does anyone have any experience with this card?
    I'm most interested in the chip used as I had a bad experience with an Audigy LS. The audigy LS does not use an emu0K chip, which means it's a piece of poop. (On the good side, I got it for $0.00). From one of the beta drivers that was released sept 09, it said the audigy ls/audigy se was not supported. Does this mean it's using the same chip?
    I'd appreciate any feedback ) chip 2) rightmark test.
    It's crucial to me that I get a card with an EMU0K chip.
    thx.
    BTW: calling the LS soundcard an audigy LS was false advertising. We expected the board to use the EMU0K chip and it didn't. What you'll get is 0% CPU usage instead of sub 5%. The LS was no better than motherboard audio solutions.

    From other boards, I think it's best to assume the Audigy SE does not use an Audigy Chip.

  • What function does the APS service: Web Intelligence Monitoring Service perform?

    When creating an Adaptive Processing Server, one of the services that can be selected is: Web Intelligence Monitoring Service.  What exactly is this service monitoring?
    Is it monitoring the APS itself when chosen?  Or as the name implies, is it monitoring Web Intelligence Processing Servers?
    Under properties, there are configuration options for this server ( i.e. Enable Monitoring checkbox ).  Are there any best practices when this service should be selected for an APS or not?
    Thanks

    Swapnil and Shwetabh, thanks for your replies. 
    Using the Monitoring Service as an example, I know:
    - If the Monitoring Service is running on an APS, then Monitoring ( under CMC ) will work
    - if the Monitoring Service is NOT running on an APS, then Monitoring ( under CMC ) will NOT work
    For Web Intelligence Monitoring Service,
    - if this is running on any APS, when benefit do we get?  Are there monitoring logs it creates anywhere?
    - if this is NOT running on any APS, what are we missing?
    In our environment we have followed APS best practices ( as per link Swapnil refereneced ) and have split services across multiple Adaptive Processing Servers.  We have 2 nodes clustered together with a total of 16 different Adaptive Processing Servers of which 12 have the Web Intelligence Monitoring Service.  In addtion, we are running 5 instances of the Web Intelligence Processing Server across both nodes.  Without understanding what purpose the Web Intelligence Monitoring Service serves, I find it difficult to determine how many of our APS should have the Web Intelligence Monitoring Service.
    If we only have 5 Web Intelligence Processing Servers, does it make sense to have 12 APS with the Web Intelligence Monitoring Service?
    Thanks
    Rick

  • Strange shape shifting, and I don't know what is doing this?

    Ok, as an experienced illustrator user I have to admit that I am stumped on this. I have been using CS5 for 3 months now (upgraded from CS3) and I notice many new features. But, as I was doing a basic drawing for an icon I noticed that my image was getting distorted when I moved it around the screen after scaling the object. This is what I am doing, (1) used the pen tool to draw icon, (2) converted the image to outlines, (3) used pathfinder to merge all shapes, (4) deleted unwanted shapes, (5) moved drawing to different position on art board, and noticed first few vector points moved, (6) scaled the object and moved it to another position on the art board and it really started to distort image.
    (Note that I am moving the object using the solid arrow tool and I am not clicking on individual points when I move the image. I also cut and paste this image into a new document and it did it again. That is why I don't think it is a corrupt doc but a setting issue.)
    I included some screen images of what I described happening with the image shifting its shape. I thought a setting was causing a problem, like snap to "pixel grid" or some other new feature that I am not aware of coming from CS3.
    I hope I am giving enough info to help solve this issue for me. Thanks

    Thanks for the fast reply. I found the "Align New Objects to Pixel Grid" was selected in the Transform Panel. I unchecked this and it looks like the solution. I checked the Illustrator Prefs, under Guides & Grid and didn't find a similar box. I only found show grids and color choices for a grid. But, I think the transform panel is what I needed.
    Out of curiosity, I went to look at the "New Document" settings and found the check box under the advanced panel. I don't know how that was turned on, but that must have been the default for all of my current new documents. This preference doesn't just activate depending on the "New Document Profile" selection does it? Let's say if I chose "Web" as the profile, does this automatically select?
    Thanks for your help, very much appreciated.

  • Getting stuff of my ipod onto my Windows computer, what app does this?

    Hello,
    So I have a Mac at home and a Windows at work. I had my ipod synced to my Mac at home and it now has all the TV shows, music etc. on it. Then I switched it to sync manually thinking it would then work at work. Well I have XPlay which allows me to plug it in at work on my Windows but then when I plug it in at work it says do you want to sync with this computer and I don't since I have nothing on my itunes at work yet.
    So is there an app for PC that allows you to get stuff off your ipod onto your computer so then I can put all that stuff on my Windows itunes at work? I know there is a Mac app that does this called ipod viewer and it's freeware or ipod access which isn't freeware.
    Anything like this for Windows?

    deggie,
    Thanks, I've heard of that one for Mac as well. I'll give it a try tomorrow at work and see if it works for me.

  • What version does this refer

    When you go into recovery mode, the first line says:
    Creative Zen Micro v0.0.58.
    What version is this referring to It can't be the firmware, since my firmware comes up as .02.05.
    Thanks,
    CityRoamer

    du musst versuchen die firmware von einem anderen pc aus zu installieren. ich hatte heute genau das gleiche problem. der player hat sich beim upgraden aufgeh?ngt und dann war nur die halbe firmware drauf. du musst die firmware l?schen bevor du die neue von einem anderen pc l?dst. das doofe ist nur, dass der player an meinem pc nicht richtig erkannt wird, im ger?tmanager von win xp steht zwar der player drin, aber ich kann weder ?ber den windows explorer, media player 0 oder eben media source organizer auf den player zugreifen. schlie?e ich den player nun an dem anderen pc an, wird der creative sofort erkannt. windows media player 0 will ihn sofort mit musik f?ttern und auch ?ber den windows explorer ist er nun per drag&drop bef?llbar. ich habe mittlerweile schon mein komplettes system neuinstalliert, aber auch das hat nichts gebracht. ich wei? nicht mehr was ich machen soll und warum der player nur an meinem pc nicht mehr funktionieren will. wenn er kaputt w?re oder so, dann w?rde er ja auch nicht an dem anderen pc funktionieren.

  • "Prefer Adobe Camera Raw" - What exactly does this do?

    What is the significance of the "Prefer Adobe Camera Raw for JPEG and TIFF"?
    I ran into the following issue:
    I update some of the fields in the IPTC metadata. In particular the title and keywords. I'm running Vista 64, and both changes faithfully appear when I view the file with Vista's picture browser or even in Windows Explorer. So far so good.
    I'm then also uploading the pictures to a Menalto Gallery website. Here is when I run into trouble.
    - If I have Prefer ACR checked of when I update the IPTC then the gallery website does not pick up on the metadata.
    - If I have Prefer ACR checked off when I update the IPTC then the gallery website is able to pick up on the metadata and assign captions on the website accordingly.
    So I'm trying to figure out what the difference between prefer ACR on and off is, and why this would affect reading of the metadata by a third party application.
    Thanks!
    Carlos

    After much digging, I've been able to come up with a rough answer to my own question.
    It appears that when the "prefer ACR" setting is on, Bridge saves older versions of the Metadata (in the XMP IDF, I believe). When displaying a file's metadata, Bridge knows to only display the latest version.
    It would appear that Windows Vista's built-in photo tools are also smart enough to only display the latest version of the metadata. Other tools (such as the Gallery software), however, appear to get confuse and display an older version of the metadata.
    In short, the conclusion I've arrived at is: If you want higher compatibility across applications, turn OFF "prefer ACR". If you value versioning information then keep ON "prefer ACR".

  • Startup Disk Full. What exactly does this mean and what can I do about it?

    I was downloading some TV shows from the itunes store when my computer informed me that my startup disk was almost full and iTunes informed me that there was an error with the downloading because my disk was full. I assume this means that the hard drive memory is full, but I don't know if there is anything more specific I should know. We've had this computer for several years and recently updated to Snow Leopard and iLife 09. I have a lot of music and pictures, and I would rather not have to delete a lot of them to free up more memory space. Are there other things I can do to clear memory space or add more?

    Hi
    +"Are there other things I can do to clear memory space or add more?"+
    Yes. Either replace the internal drive with a much larger one or purchase an externally attached drive (USB or Firewire or both) and transfer all your pictures and movies onto that instead. Either way will involve an outlay of some sort? Another way would be to start backing up less important photos, music and movies onto CD or better still DVD. You do have a built-in DVD Burner of some description. You could use it as that is primarily one of the reasons it's there for. Once you've backed up desired data start deleting it from the internal drive.
    It's important to leave some free space on the drive that contains the Operating System. Not doing so will invariably cause potentially major problems in terms of performance and the proper running of your computer. Think of it this way. If you were to constantly stuff yourself full of food would you be able to function properly or as well as you normally do? Not a great analogy but should give you enough of an idea?
    Tony

Maybe you are looking for