FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

Dezimaltrennzeichen beim Export in CSV

Home page Community Automation and VBA Decimal separator when exporting to CSV

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34814
    Stefan Palaveev
    Participant

    Hallo,

    gibt es eine Möglichkeit das Dezimaltrennzeichen beim Exportieren von Daten in CSV festzulegen? Ich habe es mit FPScript versucht mit:
    [code]
    Dim Tabelle
    Tabelle=1.1111#100#20000000

    For i=0 To NumberOfColumns(Tabelle) Do

    For j=0 To NumberofRows(Tabelle) Do
    Tabelle[i][j]=StringSet(Tabelle[i][j],”.”,StringFind(Tabelle[i][j], “,”))
    End

    End

    return Tabelle[/code]

    Dies funktioniert zwar, leider laufen aber die Schleifen ewig.

    #34816
    Stefan Palaveev
    Participant

    Hallo,

    gibt es eine Möglichkeit das Dezimaltrennzeichen beim Exportieren von Daten in CSV festzulegen? Ich habe es mit FPScript versucht mit:
    [code]
    Dim Tabelle
    Tabelle=1.1111#100#20000000

    For i=0 To NumberOfColumns(Tabelle) Do

    For j=0 To NumberofRows(Tabelle) Do
    Tabelle[i][j]=StringSet(Tabelle[i][j],”.”,StringFind(Tabelle[i][j], “,”))
    End

    End

    return Tabelle[/code]

    Dies funktioniert zwar, leider laufen aber die Schleifen ewig.

    #34815
    Bernhard Kantz
    Participant

    Customizing the Decimal Symbol
    You can customize the decimal symbol used for the input and output of floating point values as follows:

    1) In the Tools menu, click on Options.
    2) In the Options dialog box, click on the Regional Settings tab.
    2) Select the desired mode in the Decimal symbol field.

    Note: This setting does not affect the decimal symbol in formulas. FPScript always uses the decimal point.

    support@weisang.com

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.