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.
- Double Format – Converts the double value of this instance to its equivalent string representation which is specified in the format property.
- Number Format – Converts the integer value of this instance to its equivalent string representation which is specified in the format property.
Features:
- After the decimal can able to specify the format
- Can able to provide the decimal separator Whatever you want like (comma or dot).
- Before the decimal separator, can able to specify the format of the double by hash (#) separated by comma (##,###).
- Can able to provide the group separator Whatever you want like (comma or dot).
- 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.
Log in or sign up for Devpost to join the conversation.