Howto shorten the result of OID

I am using specific OID to display the Disk Read / Write time, I am getting the following result.

48.9444594290076
6.66662393189787

How I can remove the digits after dot
I want to have show result of 48 only, rest of digits after dot should not be displayed.

The OID I am using
Disk Read / Write Time: [oid(“1.3.6.1.4.1.15.1”)] [oid(“1.3.6.1.4.1.15.2”)]

string_substring returns substring of first parameter. Second parameter position, third - length

string_substring(oid(“x”),0,3) should give 48.9 or try string_substring(oid(“x”),1,3), not sure if it starts at 0…

Disk Read / Write Time: [string_substring(oid(“1.3.6.1.4.1.15.1”),0,4)] [string_substring(oid(“1.3.6.1.4.1.15.2”),0,4)]

Thanks it worked like a charm : :laughing: