cancel
Showing results for 
Search instead for 
Did you mean: 

SAP C4C SDK

Former Member
0 Kudos

Hi Community,

I am trying used the function TRUNC with SAP SDK C4C, but It is not working.
Somebody know any way to know integer value for a decimal field.

Thanks,

Randall

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member105365
Participant
0 Kudos

Hi Randall

You can just cast it like:

var decimal : DecimalValue = 1.03; //decimal

var NumberVal : NumberValue = decimal; // Integer

BR

Thomas