Was: (Inline Integer question)

Re: Inline Java and the Business Objects SDK

I'm stuck on what I think it an integer input problem.

I need to make sure that I'm replicating this Java:

Integer groupInt = new Integer(iGroup.getID());

I can get a value from iGroup.getID(). That value is "2"

And I make sure it's an integer (perl):

$groupInt = int($iGroup->getID());

But I don't think this is a correct way to translate the Java above

I think I need coerce, but I couldn't make that work.

What is the correct way to ensure $groupInt is a Java integer?

Thanks,
Mike

Reply via email to