NewDecimal

PowerBuilder Native Interface

IPB_Session interface:

NewDecimal method

Description

Syntax

NewDecimal( )

Return Values

Examples

if (ci->pArgs->GetAt(i)->IsNull())
{
   pArguments[i].dec_val=Session->NewDecimal();
   Session->SetDecimal(pArguments[i].dec_val,"1.0");
}   
else
   pArguments[i].dec_val =
      ci->pArgs->GetAt(i)->GetDecimal();

See Also