Hi!
I'm using i-net Designer 11.2 for Crystal Report design.
I need sum, but seems like formula calculate fields without decimal part and on result it gives zero on decimal part. Could you help with this seems like I'm stuck? Maybe I need to use other formula.
-------------Formula I'm using now---
WhileReadingRecords;
NumberVar VAT0_Main_LC;
IF (({fld.Fld1} = "V_LC") AND ({fld.Fld8} = "0")) THEN VAT0_Main_LC:= VAT0_Main_LC + ToNumber({fld.Fld10});
-------------Data source-------------
Field1 | Field8 | Field10
V_LC | 0 | 71.94
V_LC | 0 | 341.22
V_LC | 0 | 0
V_LC | 21 | 4.13
-------------Result now-------------
412.00
-------------Result I need----------
413.16
I'm using i-net Designer 11.2 for Crystal Report design.
I need sum, but seems like formula calculate fields without decimal part and on result it gives zero on decimal part. Could you help with this seems like I'm stuck? Maybe I need to use other formula.
-------------Formula I'm using now---
WhileReadingRecords;
NumberVar VAT0_Main_LC;
IF (({fld.Fld1} = "V_LC") AND ({fld.Fld8} = "0")) THEN VAT0_Main_LC:= VAT0_Main_LC + ToNumber({fld.Fld10});
-------------Data source-------------
Field1 | Field8 | Field10
V_LC | 0 | 71.94
V_LC | 0 | 341.22
V_LC | 0 | 0
V_LC | 21 | 4.13
-------------Result now-------------
412.00
-------------Result I need----------
413.16