Managing Project Currency Digits

Currency digits set the number of decimal points (digits after a decimal point) used for currency.

Managing Currency Digits

The CurrencyDigits property exposed by the Project class is used to set or get the number of digits after the decimal symbol for a project’s currency. This property supports the integer data type.

To view the currency digit for a project in Microsoft Project:

  1. Form the Tools menu, select Options.
  2. Select the View tab.

Currency digits in Microsoft Project

altering currency symbol in Microsoft Project

Setting Currency Digits using Aspose.Tasks

The following example shows how to set currency digits with Aspose.Tasks.

1// Create new project and set currency digits
2Project project = new Project();
3project.Set(Prj.CurrencyDigits, 2);

Getting Currency Digits using Aspose.Tasks

The currency properties are accessed through the project’s CurrencyDigits property.

1Project project = new Project("New Project.mpp");
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.