IntegerValue

Pascal nativo, preparazione del workflow

Descrizione

Restituisce un membro wjNumber di questo oggetto convertito in Integer. Il testo numerico memorizzato deve convertirsi in un intero senza errori e rientrare nell'intervallo Integer a 32 bit; qualsiasi altra cosa — un membro assente, un altro tipo, una scrittura decimale o con esponente, o un numero fuori intervallo — restituisce DefaultValue.

Sintassi

Delphi

Function TPLWorkflowJSON.IntegerValue(Const MemberName: WideString; DefaultValue: Integer): Integer;

Parametri

MemberNameNome del membro da leggere
DefaultValueValore restituito quando il membro è assente, non è un numero o non è convertibile in Integer

Valori restituiti

IntegerIl valore del membro convertito, oppure DefaultValue

Vedere anche

WorkflowDataTools, ProbeWorkflowRequest