After decimal I only three digit

Hi,After calculation I got value 0.5142857142857142857142857143
I want only three digit whatever the value like this .514

math.Round(Decim,3)

2 Likes

Hi @Aditya10989,

Decim is a Double Variable .

Use :
math.Round(Decim,3)

Reference


Mukesh

1 Like