Raised This Month: $ Target: $400
 0% 

Big integenr (or analog of printf in PHP)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Zend
Junior Member
Join Date: Jun 2008
Old 09-02-2008 , 09:33   Big integenr (or analog of printf in PHP)
Reply With Quote #1

Hi!
Have a formula: ((a * 16777216) + (65536 * b) + (256 * c) + d)
a,b,c,d - parts of IP, on example:
((217 * 16777216) + (65536 * 76) + (256 * 192) + 226)
- i got "-649281310", but normally is 3645685986
I know, in PHP present printf() function, who can do it...But how do it in Pawn?

Last edited by Zend; 09-02-2008 at 09:37.
Zend is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode