Gets cross price to convert account currency to server currency.


SYNTAX


public double GetCrossPrice ()


RETURN


double returns cross price


EXAMPLE


An object ‘Account’ that is currently used is created in the next example and cross price for converting account currency to server currency is outputted.
 
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;

namespace AccountProperties
{
  public class AccountProperties : NETStrategy
  {
    public override void Init()
    {
      Account acc = Accounts.Current; //creation and initialization of the object ‘Account’.
      Print("GetCrossPrice : \t"   + acc.GetCrossPrice());
    }        
  }
}