-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > FPScript > string2double > Reply To: string2double

Alle Operatoren zur Datenkonvertierung kann man in der Online-Hilfe unter Daten mathematisch analysieren > Referenz > FPScript-Operatoren > Datenkonvertierung finden. Im konkreten Fall wandelt FloatingPoint64 angewendet auf eine Zeichenkette (oder auch auf eine Datenreihe von solchen) in die entsprechende doppelt-genaue Fließkommazahl. Dabei werden die jeweiligen Ländereinstellungen bei der Konvertierung berücksichtigt: Im deutschen Sprachraum wird das Komma (statt dem Punkt im englischen Bereich) benutzt; also liefert
FloatingPoint64 "3,14"
das erwartete Resultat während
FloatingPoint64 "3.14"
zu einem Fehler führt.
Will man dies umgehen, kann mit
FloatingPoint64 StringReplace("3.14", ".", ",")
der Dezimaltrenner ausgetauscht werden. Leider kann StringReplace() nur auf Einzelwerte angewendet werden, Datensätze muss man also in einer Schleifen bearbeiten.
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information