We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Formating numbers to fr-CA style (1 000 000,00) without setting culture in the code

Hi all,

I have been attempting to input number string formats into a Word document for Aspose.Words to generate a PDF from. With numbers, I have successfully applied the following pattern: “#,###.00” to obtain this result: “1,000,000.00”.

When I apply the pattern “### ###,00” to obtain the fr-CA-like format, it seems that it is not being parsed properly as the decimal delimiter expected is usually a period, I presume. What would be the best way to obtain this format by directly appending it into the field in the Word document?

Thank you!


Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output Word/PDF file that shows the undesired behavior.
  • Please attach the expected output Word/PDF file that shows the desired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.