Solved Convert Number To Text In Blue Prism

VJR

Well-Known Member
Hi rpaaccount,

Take a new Data Item as Text.
Use a Calc stage to assign the value of the Number data item to 'Store In' the Text data item.
 

Kalvareo

New Member
Also you can write this &"" in a calculation step.

For example: Data item called: [number]

Calculation --> [number]&"" saved in 'result' data item

The result will be the number in text format.
 

Pete_L

Active Member
To expand upon Kalvareo's reply, any text function operated on a number value will convert that value to text. I typically use Trim() in a calc stage for doing this. Example: Trim([number]) will convert it to text. This method shows the conversion in the code, rather than relying on knowing that the destination data item is of Text type, which is required with VJR's solution. His solution is quick and efficient, but I'm just offering another option for you.
 
Top