<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem when using expressions to calculate the number of occupants automatically in Collaboration with other software</title>
    <link>https://community.graphisoft.com/t5/Collaboration-with-other/Problem-when-using-expressions-to-calculate-the-number-of/m-p/280092#M36725</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
I;m struggling with the following: I use follow the directions of this page: &lt;A href="https://helpcenter.graphisoft.com/knowledgebase/86867/" target="_blank"&gt;https://helpcenter.graphisoft.com/knowledgebase/86867/&lt;/A&gt; to calculate the number of occupants. The problem I face is when I have a parameter of occupancy that is not an integer, like say 2.6 or 3.2 those number get rounded up resulting in erroneous results. The expression used is&lt;BR /&gt;
STRTONUM ( SPLITRIGHT ( {Property:ZONES/Occupancy type}, "| ", 2 ) )&lt;BR /&gt;
&lt;BR /&gt;
Why is this happening? Does the roundup function in the Occupants affect also the Occupant load value?&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Jul 2021 15:03:30 GMT</pubDate>
    <dc:creator>Achille Pavlidis</dc:creator>
    <dc:date>2021-07-01T15:03:30Z</dc:date>
    <item>
      <title>Problem when using expressions to calculate the number of occupants automatically</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Problem-when-using-expressions-to-calculate-the-number-of/m-p/280092#M36725</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
I;m struggling with the following: I use follow the directions of this page: &lt;A href="https://helpcenter.graphisoft.com/knowledgebase/86867/" target="_blank"&gt;https://helpcenter.graphisoft.com/knowledgebase/86867/&lt;/A&gt; to calculate the number of occupants. The problem I face is when I have a parameter of occupancy that is not an integer, like say 2.6 or 3.2 those number get rounded up resulting in erroneous results. The expression used is&lt;BR /&gt;
STRTONUM ( SPLITRIGHT ( {Property:ZONES/Occupancy type}, "| ", 2 ) )&lt;BR /&gt;
&lt;BR /&gt;
Why is this happening? Does the roundup function in the Occupants affect also the Occupant load value?&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Jul 2021 15:03:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Problem-when-using-expressions-to-calculate-the-number-of/m-p/280092#M36725</guid>
      <dc:creator>Achille Pavlidis</dc:creator>
      <dc:date>2021-07-01T15:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when using expressions to calculate the number of occupants automatically</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Problem-when-using-expressions-to-calculate-the-number-of/m-p/280093#M36726</link>
      <description>Be sure that the "occupants load" number is a real, natural number (float), and not an integer; this is to be set in the property's value type.&lt;BR /&gt;
Then everything should work fine.&lt;BR /&gt;
&lt;BR /&gt;
I am not aware what the decimal seperator in Greece is. In Germany it's the comma.&lt;BR /&gt;
You'll need to have the number in "occupancy type" be in the same format as per your PC's settings.&lt;BR /&gt;
&lt;BR /&gt;
Lastly I would rather "ROUNDDOWN" than up... since rounding up makes no sense – if there is not enough space left you can't cram more people in, right?!</description>
      <pubDate>Fri, 02 Jul 2021 15:16:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Problem-when-using-expressions-to-calculate-the-number-of/m-p/280093#M36726</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2021-07-02T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when using expressions to calculate the number of occupants automatically</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Problem-when-using-expressions-to-calculate-the-number-of/m-p/280094#M36727</link>
      <description>Thanks @runxel.&lt;BR /&gt;
&lt;BR /&gt;
Actually I used "ROUNDUP" because I'm calculating the maximum number of people that can fit in a given space, according to the fire standards</description>
      <pubDate>Wed, 07 Jul 2021 12:16:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Problem-when-using-expressions-to-calculate-the-number-of/m-p/280094#M36727</guid>
      <dc:creator>Achille Pavlidis</dc:creator>
      <dc:date>2021-07-07T12:16:38Z</dc:date>
    </item>
  </channel>
</rss>

