09-17-2008 10:40 AM
Hallo!
Ich habe einen String der Form "-2.1234, 1.12314,---,---".
Sollte die Zahl positiv sein, dann ist statt dem - Zeichen ein Leerzeichen im String. --- kann jeweils auch eine Zahl enthalten.
Wenn ich die Funktion Tabellenstring nach Array verwende, kann ich als Trennzeichen "," angeben und bei Format String "%.;%f". Das funktioniert soweit auch ganz gut, nur dass immer nach der dritten Nachkommastelle abgeschnitten wird.
Ein "%.;%.2f" erzeugt genauso 3 Nachkommastellen. Die --- werden einfach als 0 interpretiert und stellen kein Problem dar.
Was mache ich falsch? Soweit ich es verstanden habe, sollte bei %f immer sechs Nachkommastellen verwendet werden.
Vielen Dank für die Hilfe
Christoph
09-17-2008 11:02 AM
Did you adjust the display format of your indicator to show all desired digits?
If this does not help, please attach some illustrative code.
09-17-2008 11:09 AM - edited 09-17-2008 11:09 AM
Works just fine here: (this is on a US computer) I set the indocator to show 6 digits of precision.
09-17-2008 12:36 PM
Hey,
Thanks for your reply! I actually didn't check how many digits the indicator is showing.
But i bet this is the problem. I was quite tired when i was doing this.
I will check it next monday when I'm back to the office.
Thanks again for pushing me to the right direction.
Christoph
09-22-2008 02:06 AM
Hey,
the problem was that it showed only 6 significant digits and not 6 digits after the comma.
Thanks again
Christoph