API Reference Guide > PHP XMLSERVICE Toolkit > Toolkit Service Class > Define Program Parameters > The AddParameterPackDec Method

The AddParameterPackDec Method

AddParameterPackDec ($io, $length , $scale, $comment, $name, $value, $dimension) - Defines the packed decimal type.  

Arguments

Value

Description

$io

  • in
  • out
  • both

Data direction type

$length

 

Parameter lenth

$scale

 

Parameter scale

$comment

 

Developer comment

$name

 

Parameter name

$value

 

Parameter value

$dimension

 

Optional - to help create arrays of data

Sample Code

Usage Example

$param[] = $ToolkitServiceObj->AddParameterPackDec('both',12,2,'Check amount', 'amount', '2000.25');

 

 

Read Also

  PHP XMLSERVICE Toolkit    
  Toolkit Service Class    
  Define Program Parameters