Forum FlexPro – Discuss your topic!

genauigkeit/nachkommastellen

Home > Community > General > genauigkeit/nachkommastellen

Ansicht von 5 Beiträgen - 1 bis 5 (von insgesamt 5)
  • Autor
    Beiträge
  • #12622

    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)?

    #8285

    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)?

    #9000
    Bernhard KantzBernhard Kantz
    Teilnehmer

    You 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.

    support@weisang.com

    #9001

    Thank 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.

    #9002
    Bernhard KantzBernhard Kantz
    Teilnehmer

    In VBA there is the command Format .

    support@weisang.com

Ansicht von 5 Beiträgen - 1 bis 5 (von insgesamt 5)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.