Skip to Content
0
Mar 14, 2012 at 04:49 PM

Issue with length of string after decimal

24 Views

Hello ,

i have to write a UDF where if the value is 121.98989898 then i have to trim to 2 values after the decimal .

Input : 121.98989898

Output should be 121.98.

How to achieve this.

Regards,

Ravi