<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Float suppress zero</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad6e717a3e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad6e717a3e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/ad6e717a3e/</id><updated>2023-01-13T13:57:25.466000Z</updated><subtitle>Recent posts to Float suppress zero</subtitle><entry><title>Float suppress zero</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad6e717a3e/?limit=25#672b" rel="alternate"/><published>2023-01-13T13:57:25.466000Z</published><updated>2023-01-13T13:57:25.466000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com5598288f732445219ee93e7670ee117e68da8445</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Probably you have to write some code to convert it to a string, find the dot, then remove everything behind the dot if the next character is a zero.&lt;/p&gt;
&lt;p&gt;If you create a function for this, you can reuse this code for all REAL variables which you want to show like this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Float suppress zero</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad6e717a3e/?limit=25#98e4" rel="alternate"/><published>2023-01-11T17:21:51.642000Z</published><updated>2023-01-11T17:21:51.642000Z</updated><author><name>vincentger</name><uri>https://forge.codesys.com/u/vincentger/</uri></author><id>https://forge.codesys.comd488ab5d050a819043872396638b880cf9e60f46</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey everyone -&lt;/p&gt;
&lt;p&gt;Is there a way to suppress zeros in a float display. I am currently using %3.1f to display the float but i dont want it to show a zero as a decimal. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>