<?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 Re: Rounding to decimal in fields in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797999#M69242</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It works in both cases, fix decimal places, and without this setting it follows the luprec&lt;/P&gt;
&lt;P&gt;Kudo 4U&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Z9E3zK5E&amp;nbsp;wrote:&lt;/P&gt;
&lt;P&gt;%&amp;lt;\AcExpr (%&amp;lt;\_FldPtr 2133054391376&amp;gt;%/10&lt;FONT color="#FF0000"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;0&lt;/SPAN&gt;&lt;/FONT&gt;00-0.005) \f "%lu2&lt;FONT color="#FF0000"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;%pr2&lt;/SPAN&gt;&lt;/FONT&gt;"&amp;gt;%&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2020 14:39:17 GMT</pubDate>
    <dc:creator>cadffm</dc:creator>
    <dc:date>2020-10-12T14:39:17Z</dc:date>
    <item>
      <title>Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796160#M69220</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;BR /&gt;So I have a crazy situation.&lt;/P&gt;&lt;P&gt;I'm trying to create a field with area value of a polyline in meters with two decimals, rounded down.&lt;/P&gt;&lt;P&gt;The value should match the one written in properties with LUPREC=4, as an external inspector checks the field to match properties (cutting off the unnecessary digits, hence round down).&lt;/P&gt;&lt;P&gt;I've used TRUNC function and everything was great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example 11577880.1183 in properties shows in field 115.77 m&lt;/P&gt;&lt;P&gt;Until I stumbled onto polyline that shows 1328100 in properties but field shows 132.80. I saw that internal value of area was 1328099.99998. The properties window rounds it, but TRUNC function just cuts off after 5th digit.&lt;/P&gt;&lt;P&gt;I tried rounding the number and thus cutting off all decimals, before truncating it at, but then problem with values like 123199.8563, which in field shows 123.20.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SOLUTION that I thought of would be to round the number after 4th decimal but I can't get it to work in FIELDS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neither multiplying by 10000 works, nor setting the decimal at which to round.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another idea is somehow to use the area field inside formula with precision of 0.0000, which i can't achieve either. Formula fields seem to use the internal value, disregarding set precisions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone can think of a solution or help me achieve mine?&lt;/P&gt;&lt;P&gt;The solution must be within the field expression, as I need the values to update with Polyline.&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 10:40:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796160#M69220</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-11T10:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796245#M69221</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;Hope this snapshot helps you to understand the settings.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Tharwat_0-1602420742824.png" style="width: 693px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/829919iC54D3B4D3235A715/image-dimensions/693x475?v=v2" width="693" height="475" role="button" title="_Tharwat_0-1602420742824.png" alt="_Tharwat_0-1602420742824.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 12:53:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796245#M69221</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2020-10-11T12:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796325#M69222</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/829942iF606127EA51C6649/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=DAT8KNFogZo" target="_blank" rel="noopener"&gt;Youtube demonstration for Round down function&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://apps.autodesk.com/ACD/en/Detail/Index?id=2045112649967645682&amp;amp;appLang=en&amp;amp;os=Win64" target="_blank" rel="noopener"&gt;https://apps.autodesk.com/ACD/en/Detail/Index?id=2045112649967645682&amp;amp;appLang=en&amp;amp;os=Win64&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. I have no relations to this product&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 14:09:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796325#M69222</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2020-10-11T14:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796624#M69223</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;I'm familiar with what you've sent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesnt solve my problem though, because i have a formula with area as "insert field". I need the field inserted to retain precision settings I've set, and it doesn't.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 19:40:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796624#M69223</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-11T19:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796625#M69224</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;I'm hoping for a solution that would work on any computer..&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 19:41:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796625#M69224</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-11T19:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796634#M69225</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;If you post your field codes then that should help to check them out closely.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 19:46:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9796634#M69225</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2020-10-11T19:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797633#M69226</link>
      <description>&lt;P&gt;Hi, thank you for your reply.&lt;/P&gt;&lt;P&gt;So here are some snapshots of the fields I'm trying to implement. I will be attaching a DWG with polylines as well in next comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 12:23:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797633#M69226</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T12:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797662#M69227</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;Apparently you did not set the precision to 0.00 as shown into your images yet. !&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 12:34:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797662#M69227</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2020-10-12T12:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797681#M69228</link>
      <description>&lt;P&gt;Here are additional files.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="precision of area field doesn't matter.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/830268iF01601036F299C52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="precision of area field doesn't matter.png" alt="precision of area field doesn't matter.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 12:38:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797681#M69228</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T12:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797687#M69229</link>
      <description>&lt;P&gt;I think I forgot to mention that I discovered the problem when I had same exact polyline copied/mirror and same field formula showed once 132.80 and once 132.81&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 12:50:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797687#M69229</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T12:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797693#M69230</link>
      <description>&lt;P&gt;-&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 12:51:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797693#M69230</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T12:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797707#M69231</link>
      <description>&lt;P&gt;(strcat&lt;BR /&gt;"%&amp;lt;\\AcExpr (trunc(%&amp;lt;\\AcObjProp Object(%&amp;lt;\\_ObjId "&lt;BR /&gt;entObjectID&lt;BR /&gt;"&amp;gt;%).Area \\f \"&amp;gt;%*0.01)) \\f \"%lu2%pr2%ps%ct8[0.01]\&amp;gt;%")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the field formula string I've been using.&lt;/P&gt;&lt;P&gt;As you can see, different result for same copied polylines, with same area in properties with LUPREC 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 12:47:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797707#M69231</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T12:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797737#M69232</link>
      <description>&lt;P&gt;Again, the solution I've thought of was to round it after 4th decimal, but it doesn't let me multiply by 10000&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I can only round after 4th decimal, because if I do that before, then number like 132099.9996, will show in field as 132.10 and I cannot have that because it doesn't match the properties.&lt;/P&gt;&lt;P&gt;As you understand, I must truncate after 5th digit in the value, otherwise it doesn't achieve my purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;trunc(round(1328100.00000000*&lt;/SPAN&gt;&lt;SPAN&gt;10000)*0.000001)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 13:01:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797737#M69232</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T13:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797746#M69233</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;is not this what you are after?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;All the required settings for the Filed are available in the same dialog but you need to investigate them.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Tharwat_0-1602507787649.png" style="width: 641px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/830284iF8828D256F90BC17/image-dimensions/641x378?v=v2" width="641" height="378" role="button" title="_Tharwat_0-1602507787649.png" alt="_Tharwat_0-1602507787649.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 13:03:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797746#M69233</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2020-10-12T13:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797758#M69234</link>
      <description>&lt;P&gt;No, I need the number to be in meters, with two decimals, with digits matching properties. Which is 132.81&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 13:06:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797758#M69234</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T13:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797764#M69235</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Tharwat_0-1602508136866.png" style="width: 459px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/830287iB6FABF913FC6E240/image-dimensions/459x310?v=v2" width="459" height="310" role="button" title="_Tharwat_0-1602508136866.png" alt="_Tharwat_0-1602508136866.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 13:09:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797764#M69235</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2020-10-12T13:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797772#M69236</link>
      <description>&lt;P&gt;The problem is for the solution to work for all kinds of polylines.&lt;/P&gt;&lt;P&gt;Which means that&amp;nbsp;&lt;/P&gt;&lt;P&gt;123456.8765 in properties shows as 123.45 in field (rounded down)&lt;/P&gt;&lt;P&gt;123454.8765 in properties shows 123.45 (regular)&lt;/P&gt;&lt;P&gt;123499.9998 in properties shows 123.49 (rounded down)&lt;/P&gt;&lt;P&gt;Sounds like simply truncating after 5th digit works, BUT&lt;/P&gt;&lt;P&gt;1328100 in properties shows 132.81 (regular) - and it DIDNT show, showed 132.80, and this is where i discovered that really internal value is 1328099.99999876 and creates a problem for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really hope the problem is clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really thank you for your time trying to get the problem.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 13:14:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797772#M69236</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T13:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797777#M69237</link>
      <description>&lt;P&gt;In this example you're not truncating, so won't work for other polylines, where I do need that.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 13:17:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797777#M69237</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T13:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797841#M69238</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;So you can use either of the two options based on the polyline's area.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 13:40:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797841#M69238</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2020-10-12T13:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding to decimal in fields</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797856#M69239</link>
      <description>&lt;P&gt;I was thinking of creating an "if" statement in LISP based on the 4th and 5th decimal in area value.&lt;/P&gt;&lt;P&gt;Problem is that if the polyline changes (and it happens, as it is an area of an apartment which undergoes changes), then the field wouldn't know to switch from one category to another, as far as I understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Different solution I thought of was to include an "if" statement in the field formula itself or to transform the value into string, cut off last four decimals (5th to 8th) and then convert back.&lt;/P&gt;&lt;P&gt;I'm not sure if it's possible to have it done inside the field formula. Wasn't successful when searching on internet for this info.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 13:46:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rounding-to-decimal-in-fields/m-p/9797856#M69239</guid>
      <dc:creator>yael.vsh</dc:creator>
      <dc:date>2020-10-12T13:46:23Z</dc:date>
    </item>
  </channel>
</rss>

