Professional Documents
Culture Documents
================================================================================
=============================================================
* Big Decimal to integer type converting :
-----------------------------------------set vTempint to 0
%java
vTempint = vTemp.intValue();
java%
here vTemp is a BigDeciaml variable to convert int variable vTempint
================================================================================
=============================================================
* String to BigDecimal type converting :
-----------------------------------------set vPick1 to 0.0
%java
vPick1 = new BigDecimal(vPick);
java%
here vPick is a String variable convert into bigdecimal varaible vPick1
================================================================================
=============================================================
* BigDecimal to String type converting :
----------------------------------------set vPLessthan to ""
%java
vPLessthan = vPLessthan1.toString();
java%
here vPLessthan1 is a BigDecimal variable convert into String varaible vPLesstha
n
================================================================================
==============================================================
* Date to String type converting:
---------------------------------------set vAttendanceCalendar to calendar of vTDate1
set vTDate2 to vAttendanceCalendar month
set vTDate3 to ""
%java
vTDate3 = vTDate2.toString();
java%
here month onle converting to String type.
================================================================================
===============================================================
* Invoice Type Selecting :
------------------------------if vInvTyVal = "0" TypeOfInvoice = "0" and
if vInvTyVal = "2" TypeOfInvoice = "2" and
if vInvTyVal = "3" TypeOfInvoice = "3" and
if vInvTyVal = "4" TypeOfInvoice = "4" and
if vInvTyVal = "5" TypeOfInvoice = "5" and
if vInvTyVal = "6" TypeOfInvoice = "6" and
if vInvTyVal = "7" (TypeOfInvoice = "0" or
if
if
if
if
if
vInvTyVal
vInvTyVal
vInvTyVal
vInvTyVal
vInvTyVal
=
=
=
=
=
"7"
"7"
"7"
"7"
"7"
TypeOfInvoice
TypeOfInvoice
TypeOfInvoice
TypeOfInvoice
TypeOfInvoice
=
=
=
=
=
"2"
"3"
"4"
"5"
"6"
or
or
or
or
)