GetDecimalString

PowerBuilder Native Interface

IPB_Session interface:

GetDecimalString method

Description

Syntax

GetDecimalString(pbdec dec)

Return Values

Examples

case pbvalue_dec:
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)->GetDecimalString();
break;

See Also