How to treat group propertys of float as float?

There is a group names "groupname" with a extra property
(Zusatzeigenschaft) named "X" of type float64. It's value is 
"1,5"
Try this script:
msgbox GroupPropGet(GroupIndexGet("groupname") ,"X")
msgbox CStr(GroupPropGet(GroupIndexGet("groupname") ,"X"))
msgbox CDbl(CStr(GroupPropGet(GroupIndexGet("groupname") ,"X")))
msgbox CDbl(GroupPropGet(GroupIndexGet("groupname") ,"X"))
The last two outputs are different and wrong!
I need a (SUD-)dialog to edit a propperty of type float. For this I
have to convert it to string and after editing to convert back  to
float.

I guess the problem is the decimalsign (dot / comma)
Try this little function
Option Explicit
msgbox GroupPropGet(GroupIndexGet("groupname") ,"X")
msgbox CStr(GroupPropGet(GroupIndexGet("groupname") ,"X"))
msgbox StringToFloat(CStr(GroupPropGet(GroupIndexGet("groupname") ,"X")))
'''Function to convert a string to a float value
Function StringToFloat(sInput)
  Dim sDecimalCharacter
  Dim sTempValue
  If IsNumeric(sInput) Then
    'Determine the decimalsign (which depends on the regional settings)
    sDecimalCharacter = Mid(1.1, 2, 1)
    If Instr(sInput, ".") > 0 Then
      sTempValue = Replace(sInput, ".", sDecimalCharacter)
    Else
      sTempValue = Replace(sInput, ",", sDecimalCharacter)
    End if
    StringToFloat = CDbl(sTempValue)
  Else
    StringToFloat = Null
  End If
End Function

Similar Messages

  • How to treat sample sales

    hi,'
    sap gurus,
    good morning to all,
    how to treat sample sales in R/3
    which document type supports that.
    what is the impact happens when goods send thru samples in sap
    regards,
    balaji.t
    09990019711.

    Dear Balaji,
    There is no seperate document type for the sample process in SAP R/3.
    We can copy standard document type OR then we can rename ot according to ours.
    One more importent point is pricing to the samples.
    We need to define the seperate pricing procedure to the samples as per the requirement and we need to determine that according to the Customer , Document pricing group and sales area.
    Noramally for sample only tax will be charged so we need to define pricing procedure in suchway.
    I hope it will clear for you,
    Regards,
    Murali.

  • Imported CD songs are each put into a separate album. How can I group them in one album?

    Imported CD songs are each put into a separate album. How can I group them in one album?

    Look at Steve MacGuire's helpful article:  http://samsoft.org.uk/iTunes/grouping.asp

  • How do I group the responses in a single cell...

    Hello,
    I have created a form in FormCentral.  The form is broken down into several groups of checkboxes.  Each group has a heading such as: 5 years old, 6 years old, 7 years old, etc...
    With the form created using FormsCentral, exported as a PDF (to add calculations) and then imported back into FormsCentral the grouping remain intact in the 'View Responses' area.  Example: The '6 years old' section displays the name of all of the 6 year old selected checkboxes.  The '7 years old' section displays the name of all of the 7 year old selected checkboxes, etc...
    Because the FormsCentral application doesn't provide a great deal of visual customization I am now trying to create my form using InDesign CC.  Now, the items take up their own spreadsheet column and don't group together inside the 'View Responses' area as before.  My question is: how do I group together item in the PDF so that they retain their grouping within FormsCentral as before? 
    My belief is that it has something to do with the naming conventions used on the various checkboxes.  Yet, I cannot quite figure out the pattern. 
    Any help is greatly appreciated.
    Thanks!
    -David

    Hi,
    >>My question is: how do I group together item in the PDF so that they retain their grouping within FormsCentral as before?
    Please try to rearrange your columns in FormsCentral View Responses table. You can select a column (or columns) and move it next to another column, then select the "T" icon which stands for "Text" formatting in Toolbar, here you can change the title of the Column or the text in each responses to a different color/background color.
    Hope this helps,
    Thanks,
    Lucia

  • How to remove group in XML Publisher template

    Hi All,
    How to remove group in XML Publisher template while desining as below is one example in that i want to remove the group no 2,3,4 or G Supp Seq,List G Audit,G Audit and want the output of line no 1 and 5 and then 1 or Batch / Entry/ Category/ List G Supp Seq/C Line No / C Transaction / C Document//C Credit/C Debit/C H Seq Name.
    Example:
    1) Batch / Entry/ Category/ List G Supp Seq                    /C Credit/C Debit/C H Seq Name                    
    2)          G Supp Seq
    3) List G Audit
    4) G Audit     
    5)     C Line No / C Transaction / C Document
    Kindly help how to generate the output without the line no 2,3,4.
    Regards,
    Sushant

    Sushant,
    you can try to design the RTF by Regrouping the XML data based on your requirement then you may get proper order.
    Please see the Regrouping XML concept in the user guide.
    Regards,
    Prasad Raju

  • I want to copy video, cutaways and audio combined and use in another project. So far I can only copy the video clip or one of the other elements at a time. How do I group all of them?

    I want to group my  video clip with its audio and cutaway clips so that I can copy the segment and move it to another project. So far I can only move one element at a time. How can I group all the elements?

    You can select multiple objects in the timeline in the usual Mac way - hold down the shift key while you click on the objects then copy, select other project, position playhead where you want to insert then paste.
    Geoff.

  • How to set group contacts in nokia asha 305

    how to  set group contacts  in nokia asha 305....thank u......

    Can Some one Tell same group contact creation for ASHA 308 too?

  • HOW CAN I GROUP AND DELETE TEXT MESSAGES IN BULK

    HOW CAN I GROUP AND DELETE TEXT MESSAGES IN BULK

    message - edit - select each text message - delete.
    that is the only method to delete message on your iphone.

  • A few minutes coding AME hangs ... How is treated?

    Gentlemen, here's the question on this AME (Adobe Media Encoder)
    The question in steps:
    1. Have 4 video file in format ".mov" (camera panasonic lx3) \ OS Vista 86x SP1
    size (time): 258Mb (01:23) +240 Mb (01:18) +180 Mb (00:58) +82 Mb (00:27)
    1280 * 720 \ 24fpc \ raw rgb32, PCM audio \ 24285kbps
    2. Import tracks in adobe premier pro cs4 and save the project "sequence01.prproj"
    3. Imports in adobe media encoder cs4 (v.4.1.0.107) project "sequence01.prproj"
    Install conversion options in the H.264 preset "NTSC DV High Quality" and press "start queue"
    4. A few minutes coding AME hangs ... (when converting each video separately, hang not observed)
    How is treated?
    thanx

    temporarily workaround:
    glue files .mov in quicktime pro
    import a large .mov file in premier pro

  • How to use GROUP BY  in ODI

    how to use GROUP BY in ODI tool

    Hi ,
    you can combine the insert stamt with the select ....so that in the target u will get a single line .....
    SQL> select * from prop_details;
    PROPERTY RELAVANTD NOTICES
    10100 25-JAN-09 30
    10100 03-JAN-09 30
    10100 02-DEC-08 20
    10100 01-DEC-08 10
    10100 31-DEC-08 20
    10101 10-JAN-09 10
    10101 20-JAN-07 15
    10101 30-DEC-08 45
    10101 20-FEB-08 35
    10101 31-JAN-09 25
    10 rows selected.
    SQL> select PROPERTY,max(RELAVANTDATE),SUM(NOTICES) from PROP_DETAILS GROUP BY P
    ROPERTY;
    PROPERTY MAX(RELAV SUM(NOTICES)
    10101 31-JAN-09 130
    10100 25-JAN-09 110
    SQL>

  • How to order / group a report by a placeholder column ?

    How to order / group a report by a placeholder column populated by the group filter ?
    In more detail .....
    My Data model editor's select statement brings back (say 1000 rows) from the database.
    The group filter decides (on performing certain validations) whether to print a row or not in the report.
    Additionally the group filter calculates a "rule type" (just a rule number to say on basis of what rule, the row was selected)
    I would like to order/group the report on the placeholder column which was calculated by the group filter ?
    Obviously, I won't be able to add the "ORDER BY :CP_RULE_NUMBER" in the sql statement as the placeholer column cp_rule_number
    is determined by the group filter level only. (If I do, I get a frequency error)
    Any ideas ?
    Thanks in advance.
    Edited by: user553361 on 8/10/2008 17:35

    how is the group filter implemented?
    If its pure PL/SQL, what about putting the filter-procedure in a stored function into the database? Then you could use the group filter in your query.

  • How to send group emails from ipad

    How to send group emails from ipad

    Thanks.  So matters haven't changed.  Ipad and iohone systems still not make use of the groups created in OSX Contacts, although one can "see" the groups synced through iCloud.  They just do not function as real distribution lists in Mail.
    With the Mailshot app, one creates Mailshot groups with Mailshot group name.  It's as smooth as a work around can get.
    Silly that Apple iOS folks never got around to connecting the contact groups now listed in iOS Contacts through iCloud syncing to also be fully functional in iOS Mail for the purpose of group emailing. 

  • HT3529 how to send group messages in ios 7.0.2

    please tell me how to send group messages in iphone 5 with ios7.0.2

    Oh yeah, now I remember that.
    But I also remember that you had to go all the way to the start of the message to gain access to the current contact information. Where as in iOS7 that button you mentioned is the contact information. Personally I perfer iOS7. I don't delete my messages, so this is better for me.
    However, it wouldn't be a bad idea to add an Edit button in that sub menu that shows up when you touch the upper right button. Currently there are opitions for "Phone", "FaceTime" and "Information" on the contact.
    KOT

  • How to change group colors

    How to change group color in ical

    To change group colors:
    highlight 'desired' group,
    under <Edit>, choose <Get Info>,
    this should give you a smaller window:
              'desired' Info
              Name: desired                    Box with color choices
                                                       (dropdown colors; 'other' accesses other color palettes)
              Description: (can be added)
              Box ' Ignore alarms'
              'Publish...'                    'Cancel'                    'OK'
       4. make color choice,
       5. choose <OK> to complete color change, or <Cancel> original color remains.
    I do hope I've gotten this correct.

  • How to Perform Group By operation in OBIEE 11g

    Hi,
    I have created a report for the "Nationality count in department wise manner", since for this i need to give 'group by department' for getting correct answer...
    But in OBIEE 11g on presentation service how i need to give "Group BY" operation....for viewing correct count in nationality wise......
    Regards,
    Harry...

    Hi sai,
    U mentioned, but i couldn't clearly able to understand that.......Since to perform Group By i need to make some setting changes in content in Advanced Tab setting like that it is mentioned, but i need to perform in the following manner
    select count(nationality), nationality
    from per_all_people_f, per_all_assignment_f, hr_all_organization_units
    group by department
    Note: per_all_people_f-----------> dimension table, per_all_assignment_f--------------> fact table
    nationality from per_all_people_f and count(nationality) from per_all_assignment_f
    But department is from hr_all_organization_units--------->dim table
    I dont want to see the departments but i need to group the result in department manner that i was taking from the table hr_all_organization_units.....
    How to perform Group BY in OBIEE 11g.......
    Thanks,
    Harry.........

Maybe you are looking for

  • JDBC Adapter :: Missing Column Headings

    Hi, I was wondering if anyone has encountered this issue with the JDBC sender adapter. After executing the following SQL select statement: SELECT rake_yem, rake_serial_no FROM rt_rake_ore_wt_smy WHERE reading_datetime > SYSDATE - 2 The JDBC Sender ad

  • Localize interaction widgets in captivate 6

    I'm using an English installation of Cp6 and would like to incorporate some of the standard captivate interaction widgets into lessons for high school students. However these lessons will have to be fully in Dutch and all of the widget parts need to

  • Questions reg CCMS

    Hi, I have configured CCMS Please let me knwo the following information with respect to CCMS 1. Does CCMS occupy space in /usr/sap folder 2. Does CCMS occupy database space 3. CCMs alerts are stoerd in Database or File System

  • Is CS5.5 a free upgrade from CS5?

    Is cs5.5 a free upgrade, where do i go to get it, and how much does it cost?

  • Problem with Oracle hint

    Is it possible to use oracle hint along with qblock query. I have /*FIRST_ROWS/ as hint in my query. Also used qblock to get the total no. of records. Getting "internal error code, arguments..." Any suggestions would be very useful... Thanks in Advan