Create your first automation in just a few minutes.Try Studio Web →
by YouTube
2
Snippet
127
Summary
Summary
Reusable component which allows you to convert any number from digits into words (Available in English and French)
Overview
Overview
This component allows you to convert any number between -19,999,999 and 19,999,999 into words. The range can be extended using the same logic implemented so far.
When converting a non-integral value to an integral type, the integer conversion functions (CByte, CInt, CLng, CSByte, CShort, CUInt, CULng, and CUShort) remove the fractional part and round the value to the closest integer. If the fractional part is exactly 0.5, the integer conversion functions round it to the nearest even integer. For example, 0.5 rounds to 0, and 1.5 and 2.5 both round to 2. This is sometimes called banker's rounding, and its purpose is to compensate for a bias that could accumulate when adding many such numbers together.
The CINT function is used, which first checks to see if the value provided is is an integer, and then simply casts it and returns it. If the format of the number is double, it will try to convert it without first converting the double to a string.
NOTE: Installation Guidelines for Snippets can be found here.
Features
Features
In some cases, documents require the word format of a number to be written next to the digit format, to reinforce the number and make it difficult to modify.
Additional Information
Additional Information
Dependencies
No dependencies. All the logic is implemented in UiPath Studio.
Code Language
Visual Basic
Technical
Version
2.1.1Updated
February 18, 2020Works with
UiPath V7
Certification
Silver Certified
Support
UiPath Community Support