Need variable value in decimal upto 3 decimals

but how to use this ?