<?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: How to convert numeric values to decimal numbers? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-numeric-values-to-decimal-numbers/m-p/511189#M143183</link>
    <description>&lt;P&gt;An example event or two would be helpful, but perhaps this will get you started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval Availability = round(tonumber(rtrim(Availability, "%")) / 100, 4)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2020 17:20:36 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-07-27T17:20:36Z</dc:date>
    <item>
      <title>How to convert numeric values to decimal numbers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-numeric-values-to-decimal-numbers/m-p/511184#M143180</link>
      <description>&lt;P&gt;I have a field called Availability and the field values are like 98.32 % and I want them to be converted as decimal numbers like "0.9832" please help&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 16:56:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-numeric-values-to-decimal-numbers/m-p/511184#M143180</guid>
      <dc:creator>iamsplunker</dc:creator>
      <dc:date>2020-07-27T16:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert numeric values to decimal numbers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-numeric-values-to-decimal-numbers/m-p/511189#M143183</link>
      <description>&lt;P&gt;An example event or two would be helpful, but perhaps this will get you started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval Availability = round(tonumber(rtrim(Availability, "%")) / 100, 4)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 17:20:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-numeric-values-to-decimal-numbers/m-p/511189#M143183</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-27T17:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert numeric values to decimal numbers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-numeric-values-to-decimal-numbers/m-p/511190#M143184</link>
      <description>&lt;P&gt;Yes your answer perfectly works...&lt;BR /&gt;| makeresults&lt;BR /&gt;| eval value="98.32%"&lt;BR /&gt;| eval Availability = round(tonumber(rtrim(value, "%")) / 100, 4)&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 17:28:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-numeric-values-to-decimal-numbers/m-p/511190#M143184</guid>
      <dc:creator>spitchika</dc:creator>
      <dc:date>2020-07-27T17:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert numeric values to decimal numbers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-numeric-values-to-decimal-numbers/m-p/511191#M143185</link>
      <description>&lt;P&gt;If your problem is resolved, then please click the "Accept as Solution" button to help future readers.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 17:29:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-numeric-values-to-decimal-numbers/m-p/511191#M143185</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-27T17:29:27Z</dc:date>
    </item>
  </channel>
</rss>

