Topic
genauigkeit/nachkommastellen
Startseite ' Community ' Allgemein ' genauigkeit/nachkommastellen
- Dieses Thema hat 4 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 17 Jahren, 7 Monaten von Christian Rathgeber aktualisiert.
-
AutorBeiträge
-
15.10.2007 um 16:56 Uhr #33958Christian RathgeberTeilnehmer
Hallo,
ich hab schon in der Hilfe gesucht, konnte aber leider nichts dazu finden. Ist es möglich bei der Ausgabe einer Formel die Anzahl der Nachkommastellen des Ergebnisses zu bestimmen (so wie in C mit .3)?15.10.2007 um 16:56 Uhr #33962Christian RathgeberTeilnehmerHallo,
ich hab schon in der Hilfe gesucht, konnte aber leider nichts dazu finden. Ist es möglich bei der Ausgabe einer Formel die Anzahl der Nachkommastellen des Ergebnisses zu bestimmen (so wie in C mit .3)?16.10.2007 um 18:15 Uhr #33959Bernhard KantzTeilnehmerYou have the possibility to format your FPScript formula. Formatters control the output of numbers, angles, strings, calendar time values and time spans. They always start with a ‘%’ character, which is followed by a code.
Select the formula in the Object List, use the right mouse button and select Properties from the context menu. In the Formatting tab you can change the format.
The format is visible in the Value tab of the formula.16.10.2007 um 19:32 Uhr #33960Christian RathgeberTeilnehmerThank your for the answer. I already tried this and it works, but I’m sending those results to vba and there the new format gets lost. So I have to change it in vba? I can’t find any command for this.
17.10.2007 um 18:18 Uhr #33961Bernhard KantzTeilnehmerIn VBA there is the command [b]Format [/b].
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.