How to  convert 3.16 to 3.20 in tables? Round only the decimals?

In a recent post mr Trevor wrote a powerful script to round decimals but altering the preceding number:
23.45 was converted to 23.
23.78 to 24.
It is possible to script only the decimals not touching the integer?
,03 : 00
,06 : 10
,14 : 10
,18 : 20
,71 : 70
,77 : 80
Etc?

Hi, thank you.
As numbers are placed on tables, how to apply this script to the whole document?
It is necessary to make a list?
Or it may be used with a skeleton like this wrote by Trevor?
var doc = app.activeDocument;
app.changeGrepPreferences = app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\d+\,\\d+";
var myNumberFinds = doc.findGrep(),
      l = myNumberFinds.length;
while (l--)
        app.changeGrepPreferences.changeTo = Math.round(myNumberFinds[l].contents.replace(/\,/,".")).toString();
        myNumberFinds[l].changeGrep();
 Yes, numbers between ,094-0,99 will afect the integer!
Thank you.

Similar Messages

  • Can anyone tell me how to convert crop marks to registration on a supplied pdf. The pdf also has spot colours which the crop marks need to be in too.

    Can anyone tell me how to convert crop marks to registration on a supplied pdf. The pdf also has spot colours which the crop marks need to be in too.

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • How to convert .txt (from applicaiton server) to internal table

    hi all
    i want to convert .txt (from applicaiton server) to internal table , im getting the contents in the itab, but im not able to remove '#',
    can anybaody help me?
    Thanks.

    The # is a representation of the tab, so you need to do something like this.
    report zrich_0001.
    data: str type string.
    data: begin of itab occurs 0,
          fld1(10) type c,
          fld2(10) type c,
          fld3(10) type c,
          end   of itab.
    data:
          dsn(100) value '/usr/sap/TST/sys/test.txt'.
    constants:
        con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    clear itab.  refresh itab.
    * Read the data.
    open dataset dsn for input in binary mode.
    do.
      read dataset dsn into str.
      if sy-subrc = 0.
       split str at con_Tab into itab-fld1 itab-fld2 itab-fld3.
        append itab.
      else.
        exit.
      endif.
    enddo.
    close dataset dsn.
    Loop at itab.
      write:/ itab-fld1, itab-fld2, itab-fld3.
    endloop.
    Regards,
    RIch Heilman

  • How do I open photoshop? I have it downloaded and only the Adobe Application manager shows with the

    How do I open photoshop? I have it downloaded and only the Adobe Application manager shows with the list of other software. I clicked on photoshop, but not responding.

    Nobody can know. Your information is far too vague - no system info, no other details. Just saying that it doesn't work is not conducive to providing assistance...
    Mylenium

  • How to convert maintenance view 'v_t001k_assign' to inner join tables

    Dear friends,
    I found I could not select the fields of view 'v_t001k_assign' using SQL, and I found there are some tables joined together as below:
    T001     MANDT     =     T001K     MANDT
    T001     BUKRS     =     T001K     BUKRS
    T001K     MANDT     =     TASSIGN_MM_T001W     MANDT
    T001K     BWKEY     =     TASSIGN_MM_T001W     BWKEY
    T001W     MANDT     =     TASSIGN_MM_T001W     MANDT
    T001W     WERKS     =     TASSIGN_MM_T001W     WERKS
    T001W_EXT     MANDT     =     TASSIGN_MM_T001W     MANDT
    T001W_EXT     WERKS     =     TASSIGN_MM_T001W     WERKS_EXT
    So how to convert this maintenance view 'v_t001k_assign' to inner join tables for SQL selection?
    Thanks a lot!
    Edited by: Qiwei Yin on May 27, 2009 10:35 AM

    Hi,
    You should use the 'Search help exit' to select the data for yourself from the database. Go into the search help maintenance screen and press F1 on field 'search help exit'; follow the links. There is actually a pretty good documentation.
    Regards, Gerd Rother

  • How can i pass a variable instead of a table name in the Select statement.

    Dear all
    how can i pass a variable instead of a table name in a select statement ?
    Example :-
    Begin
    P_get_procedure_tname (aap_name,otable_name);--It will take an application name and will return a table name
    Select col1 into ocol1
    from  ---- here i want to pass the variable OTABLE_NAME
    End;How can i pass this ?

    Hi,
    You can use dynamic sql.
    EXECUTE IMMEDIATE 'SELECT COL1 INTO ' || OCOL1 || ' FROM " || OTABLE_NAME;
    {code}
    cheers
    VT                                                                                                                                                                                                                                                                                                   

  • How can i order more copies of a iPhoto book using only the order number

    how can i order more copies of an  iPhoto book I made
    by  using only the order number
    as I deleted by mistake a copy of it on my iphoto

    I know the horse is out of the barn but this tutorial might be of help for future books: iP12 - Archiving an iPhoto 9 (11) Book for Editing and/or Ordering at a Later Date.
    If you're starting over from scratch with a book I suggest you create a new library just for that book. Put the photos you want in the book in an album in your current library and use the paid version of  iPhoto Library Manager to copy that album into the book library.
    This will keep the book library small for easy saving to CD or DVD or to an EHD.  If you delete photos from your full library it won't affect the book library.
    Happy Holidays

  • How to convert HD DVD to SD in PAL and NTSC - is the MXO2 the magic bullet?

    I edited a 1 hour-long video of my college class reunion in FCP Studio 2, exported via Compressor and finally made it into a DVD with menus via DVDSP. Very neat so far, but there's a problem - the DVD is in HD, but I need to convert it to SD PAL to distribute to my old pals in the UK and SD NTSC for those who made it to the USA.
    I'd like to do that without re-doing all the fancy menu-work in DVDSP, but how? Can anyone advise me, will the new Matrox MXO2 convert an input HD PAL signal to an SD PAL / or SD NTSC output which can be re-acquired into DVDSP and burned to disk?
    Advice would be much appreciated, thanks.

    Jerry, I appreciate your help with this. I exported the film from FCPS2 via Compressor as a PAL SD .mov, located the correct HD video asset in the DVDSP Build folder and replaced it with the new SD version, renamed to look like the HD asset.
    On re-opening the project, DVDSP registers the fact that the video asset has changed (mainly affects menu items), but despite ensuring Preferences is set for SD, there seems no way of changing the format of its output from HD to SD.
    Trying to hide the HD video asset in a sub-folder doesn't work - DVDSP re-names the new SD video as Filename (Video) 1.
    Build command creates an HVDVD_TS folder containing the usual HD-type files. Creating a template in the hope of using the menu structure in a new SD project results in all the HD video assets coming with it.
    I'm sure I'm being stupid, as usual, but can you point me in a better direction?
    Thanks
    Dr8x

  • How to convert 2 or more Excel files as tables in One Application

    Hi
    I have created one application according to apex demo using excel spreedsheet in which copying data is converted to table then when run application form and reports are produced.
    Now i created file in a similar way but it is taking only one sheet as a table in one application. So How to add few other pages from spreedsheet converting to a table and run in the same application.
    Also i have a workspace created in html.oracle.com in that when i want to upload excel file or copy data from excel i am getting error as......
    ORA-20001: create_table error: ORA-20001: Excel load run ddl error: ORA-01658: unable to create INITIAL extent for segment in tablespace FLOW_6868
    Can anybody help me? Thank in Advance!!!!
    Tnx
    Vijaya

    Also i have a workspace created in html.oracle.com in that when i want to upload excel file or copy data from excel i am getting error as......
    ORA-20001: create_table error: ORA-20001: Excel load run ddl error: ORA-01658: unable to create INITIAL extent for segment in tablespace FLOW_6868Looks like the data you're trying to load will exceed your workspace quota (2MB small, 5MB medium). Try loading fewer rows.

  • How to convert script output to excel and send through mail in the report

    I need a solution for Converting script into EXCEL  and sending Excel as a attachment to the mail. In my current Program I am getting OTF data from script and converting into PDF using Function module ' CONVERT_OTF'
    And sending PDF as a mail attachment using Function module 'SO_NEW_DOCUMENT_SEND_API1' it is working fine but
    My current requirement is I need to send Excel as a mail attachment instead of PDF.
    Hope it is clear for you, please give me possible solutions with sample code..

    hi
    good
    CONSTANTS: CON_CRET TYPE X VALUE '0D',  "OK for non Unicode
                 CON_TAB TYPE X VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
             INTO IT_ATTACH SEPARATED BY CON_TAB.
      CONCATENATE CON_CRET IT_ATTACH  INTO IT_ATTACH.
      APPEND  IT_ATTACH.
      LOOP AT IT_EKPO INTO WA_CHAREKPO.
        CONCATENATE WA_CHAREKPO-EBELN WA_CHAREKPO-EBELP
                    WA_CHAREKPO-AEDAT WA_CHAREKPO-MATNR
               INTO IT_ATTACH SEPARATED BY CON_TAB.  " Check here
        CONCATENATE CON_CRET IT_ATTACH  INTO IT_ATTACH.  " Check here
        APPEND  IT_ATTACH.
      ENDLOOP.
    thanks
    mrutyun^

  • How can I change e-mail settings so that I see only the recent ones?

    before my mail box showed only a limited number of e-mails. Now, some old mails from 2010 are in the box. How can I change this in the settings? I did it before but since my iPad been broke I can't find the way.

    settings - notification- message - show preview - OFF
    you can also select the alert type your want -banners or alerts

  • How can I find overset text in a InDesign table and locate the page?

    I am currently using CC but see the same issue in CS5 as well. If text within a table is overset or cannot be displayed, I can use search/replace for a term that I know is in an affected cell, however InDesign will find the first instance but will not automatically navigate to the page. Instead it remains on whatever page I happened to be on.

    For product specific questions you may do better in the specific product forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right to open the drop down list and scroll
    http://forums.adobe.com/community/indesign

  • How do I create a specific packages for users where in only the admin has the access of which software the user can download?

    Is there any possibilities that the admin of the team can limit the packages of the user? Only the admin can add and remove software to be downloaded for specific users.

    You can include single app plans in team packages, but otherwise no. This will exclusively depend on the users' local permissions on the computer - if the can install one app, they can install all of them, be it only as a trial.
    Mylenium

  • TS4036 How do I get photo albums to upload to new phone, only the photo stream is crossing over?

    I have an iphone that has over 3000 photos on it. I bought a new iphone and want to get the pictures from all my albulms on the old phone to this new phone. All my pictures were wiped out of my computer and cannot restore to new iphone. I am relying on icloud and itunes but have not been able to get them to upload all albums, just the photo stream. I do not want to lose all my pictures.

    If you want to transfer all your data and settings from your old phone to your new one, follow this guide: http://support.apple.com/kb/ht2109.  If you only want to transfer photos, photos from the camera roll can be imported to your computer using usb: http://support.apple.com/kb/HT4083.  You can save your photo stream photos to your camera roll so they can also be imported this way by opening your my photo stream album, tap Edit, tap all the photos, tap Share, tap Save to Camera Roll.
    If you need to transfer photos in the photo library album, you'll have to use an app like PhotoSync.  This will transfer photos from any album on your phone to your computer over wifi.  With that many photos, it's probably the easiest way to go for all your photos.

  • How to transfer photos edited in iOS to my Mac? Only the originals transfer.

    I spent a lot of time editing photos on my iPad but can't transfer the edited versions to iPhoto on my Mac.

    Use the aware button to share your edited photos to iTunes.
    Then start iTunes on your Mac and connect your iPad.
    Select your iPad in the left column of iTunes and select Apps in the right column. There will be a section with shared files under each apps name. Drag your photos to your Mac.

Maybe you are looking for