Showing results 1 to 3 of 3

Thread: Integer value with decimal seperators

  1. #1
    Join Date
    14.10.2020
    Posts
    1

    Frage Integer value with decimal seperators

    Hello everyone, I'm just stucked with showing integer values with the decimal separators. To be more clear; As the screenshot below there are some data on the flow rate column and difficult to read. Because there is no decimal separators . For example the first value might look better if it was like "110.494" I would be so appreciated if anyone helps.
    Attached Thumbnails Attached Thumbnails decimal.jpg  

  2. #2
    Join Date
    03.11.2015
    Posts
    26

    Default Re: Integer value with decimal seperators

    this might be even more confusing: would the dot '.' be the decimal separator or the thousands separator?
    Have you thought of using zenon logic for designing an individual display of values?

     

  3. #3
    Join Date
    01.07.2008
    Location
    Salzburg, AT
    Posts
    971

    Default Re: Integer value with decimal seperators

    In zenon the char for decimal separator is this from Windows current settings, the quantity of decimal places you can set by variable in the property 'Value calculation' - 'Decimals'.

    The thousands separator (I suppose you mean there) is not supported. If you want to display these flow rate values with thousands separator you have following ways:
    - (like c.f. suggested): make zenon variables externally visible and convert values to the string, format it like you like. Put the result into additional stratonNG variables of data type STRING. Then in zenon display those additional string variables, instead numerical.
    - API (Programming Interface)


    As neither the question, nor answers, are specific for Energy - I'm moving this thread.
     

Similar Threads

  1. how to convert the content of a variable in decimal into an hexadecimal value
    By mos89 in forum Engineering Studio Logic & Logic Service (former zenon Logic Workbench & Runtime)
    Replies: 12
    Last Post: 15th March 2021, 11:08
  2. Converting of IEC61850 integer values into Bit wise
    By AdelGamal in forum Engineering Studio Logic & Logic Service (former zenon Logic Workbench & Runtime)
    Replies: 2
    Last Post: 30th October 2019, 07:55
  3. Comma as separator for decimal value
    By altera in forum zenon Service Engine Supervisor
    Replies: 4
    Last Post: 23rd August 2016, 10:17
  4. convert 2 integer into 1 float
    By jahidbagwan in forum zenon Service Engine Supervisor
    Replies: 3
    Last Post: 17th October 2013, 22:36

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •