Skip to Content
avatar image
Former Member

SAP C4C SDK

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 22, 2018 at 10:36 AM

    Hi Randall

    You can just cast it like:

    var decimal : DecimalValue = 1.03; //decimal

    var NumberVal : NumberValue = decimal; // Integer

    BR

    Thomas

    Add comment
    10|10000 characters needed characters exceeded