Buying convert delphi code to php ($10)

Discussion in 'Programming' started by stephan2307, Dec 19, 2011.

  1. #1
    I got this delphi code
    
    
    Function EntConvertInts ( Const Int2 : SmallInt; Const Int4 : LongInt) : 
    Double; StdCall;
    Var TheRealArray : Array [1..6] Of Char;
    TheReal : Real;
    Begin
    Move (Int2, TheRealArray[1], 2);
    Move (Int4, TheRealArray[3], 4);
    Move (TheRealArray[1], TheReal, 6);
    Result := TheReal;
    End
    Code (markup):
    And need to get it converted into php.

    $10 for the first person that can provide a working function

    Here are some test values

    Int2 146
    Int4 310116352

    result should be 150000 but can not guarantee 100%

    So convert the code send it to me via pm, I will test it and if it works then the first person will get the money.
     
    stephan2307, Dec 19, 2011 IP
  2. Matkas

    Matkas Active Member

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Is this job is still available?

    Best Regards,
    Mateusz
     
    Matkas, Dec 19, 2011 IP