on 2008 Nov 17 1:22 PM
i m use formated search on the purchase document.
SELECT($[POR1.U_PurchaseTotal.number]/$[$38.11.number])
select(5/10)
return 0, why ?
And if(10/5)
return 2(Correct)
Request clarification before answering.
Please modify:
Declare @Var1 Decimal(11,6)
Declare @Var2 Decimal(10,6)
Declare @Var3 Decimal(16,6)
set @Var1 = 10000.000
set @Var2 = 100.000000
set @Var3 = (@Var2/@Var1)
select @Var3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Because this FMS result round off to the integer that might be smaller than the actual result.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
how to solve this problem.
when we are dividing 100/1000 it is giving results but when dividing 100/100000 it is giving error:"airthmatic overflow"
how to solve this....
we using following query and using formated search
Declare @Var1 Decimal(10,6)
Declare @Var2 Decimal(10,6)
Declare @Var3 Decimal(16,6)
set @Var1 = 10000.000
set @Var2 = 100.000000
set @Var3 = (@Var2/@Var1)
select(@Var3)
Thanks
Neetu.
User | Count |
---|---|
102 | |
39 | |
8 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.