Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
How to deal with 'long' (System.Int64) argument datatypes from Service Studio?
Community
›
Forums
›
Technology & Integration
How to deal with 'long' (System.Int64) argument datatypes from Service Studio?
New Post
New Post
Pedro Gonçalves
Posted on 2006-11-06
Pedro Gonçalves
Rank: #23
Posted on 2006-11-06
Hi all,
I'm consuming several web service methods through an Extension. Some parameters have 'long' datatypes (which translate into System.Int64 in .NET). To avoid any conversion misconsequences what should be the best way to deal with this? That is, what should Service Studio insert into the extension Action for further conversion? I presume that Integer (System.Int32) is out of the question...
Thanks in advance,
Pedro Gonçalves
Lúcio Ferrão
Posted on 2006-11-07
Lúcio Ferrão
Rank: #96
Posted on 2006-11-07
Solution
Hi Pedro,
your extension should convert the long integers to decimals in service studio. As explained in
http://msdn2.microsoft.com/en-gb/library/system.decimal(VS.80).aspx
, a Decimal value consists of a 1-bit sign, a 96-bit integer number, and a scaling factor used to divide the 96-bit integer and specify what portion of it is a decimal fraction, so it will handle 64 bit integers without any problem.
Cheers,
Lúcio Ferrão
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...