Dashboards & Visualizations

Remove decimal values in a table

vishwa
Path Finder

Hi all, I have table where the values are showing as

234.000000

56.000000

But we want to remove zeros and shown only

234

56

How we do this???

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

gcusello
SplunkTrust
SplunkTrust

Hi @vishwa,

use eval round (https://docs.splunk.com/Documentation/SCS/current/SearchReference/MathematicalFunctions#round.28.26l...😞

| eval your_field=round(your_field,0)

Ciao.

Giuseppe 

vishwa
Path Finder

@gcusello ,@Thank  you

0 Karma
Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...