Managing Currency Codes in PHP

Aspose.Tasks - Getting Currency Code

To get currency code using Aspose.Tasks Java for PHP, call get_currency_code method of CurrencyCodes module. Here you can see example code.

1$project = new Project('test_tasks.mpp');
2$prj = new Prj();
3print "Currency Code: " . (string)$project->get($prj->CURRENCY_CODE);

Aspose.Tasks - Setting Currency Code

To set currency code using Aspose.Tasks Java for PHP, call set_currency_code method of CurrencyCodes module. Here you can see example code.

1$project = new Project('test_tasks.mpp');
2$prj = new Prj();
3$project->set($prj->CURRENCY_CODE, "USD");
4print "Set currency code.";

Download Running Code

Download Managing Currency Codes (Aspose.Tasks) from any of the below mentioned social coding sites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.