cancel
Showing results for 
Search instead for 
Did you mean: 

FMS 3 Decimal Places

Former Member
0 Kudos

Dear Experts ,

I tried Working for a Formatted search in Purchase Order , the result is the product of U_Field and PriceBefDis

I want 3 digits since it s very essential for Customer, but formatted Search is getting rounded to 2 digits.

I have tried all queries posted in Forums,The Same result ,it is rounded of 2 two digits

can we do FMS to display 3 decimal places

Mohamed

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks

former_member206488
Active Contributor
0 Kudos

dear,

paste your query here and what is the type of UDF's you created.

Former Member
0 Kudos

Hi Neetu,

This is the Query I Tried

declare @a as money

declare @b as money

declare @c as money

set @a=$[$13.u_pw.11]

set @b=$[$13.U_Pu.11]

set @c=(@a*@b)/100

select @c

Mohamed

former_member204969
Active Contributor
0 Kudos

Try with this select:

Select str(@c,10,3)

(It converts the result to string using the str(expression,length,decimal) function.)