cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with length of string after decimal

former_member190358
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member190358
Participant
0 Kudos

I have written Java codes which served my purpose.

Thanks.

Ravi

Answers (1)

Answers (1)

Adam_Stone
Active Contributor
0 Kudos

You need to provide more information about where you are doing this such as which product you are using.