Situation:

Around the world, we follow the different type of formats in the numbers (integer or decimal).Example in Europe, The decimal separator is comma (,) and the group separator is dot (.). Where as in Asia, it is entirely opposite. In the development area, Specifically in Microsoft, It handles by the region settings (Technically by Culture).It has default format. But sometimes we need beyond that level. It could be any formats and separators.

Solution:

I have developed the package with activities called Format Number Activities. It solves the problem of the above situation. Below the activities details.

  1. Double Format – Converts the double value of this instance to its equivalent string representation which is specified in the format property.
  2. Number Format – Converts the integer value of this instance to its equivalent string representation which is specified in the format property.

Features:

  1. After the decimal can able to specify the format
  2. Can able to provide the decimal separator Whatever you want like (comma or dot).
  3. Before the decimal separator, can able to specify the format of the double by hash (#) separated by comma (##,###).
  4. Can able to provide the group separator Whatever you want like (comma or dot).
  5. The output value returns as string

Future:

Have to add more functionalities in the activities.

Flexibility and Usability:

This is the power of UiPath. It is very flexibility to the developers to develop the custom activities. After the development, it is very easy to use it. I have Developed activities in C#.Net.

Share this project:
×

Updates