Question

Why number variables are not allows to write to Messagebox / Log to File ? Do we need to convert them to string variables before writing to MessageBox / Log to File

  • 27 January 2022
  • 1 reply
  • 27 views

Why number variables are not allows to write to Messagebox / Log to File ? Do we need to convert them to string variables before writing to MessageBox / Log to File

1 reply

Userlevel 4
Badge +7

Hi @Analyst Kumar​ ,

 

Numbers have to be converted to string either by using the Number: To String Action.

 

imageOr, by using inline operations, which is what I prefer:

 

imageIt isn't necessary to memorise the syntax, just add a period just before the last dollar sign and intellisense pops up.

 

Also, since its a field which only accepts strings, F2 won't show the number variables, so you have to write numbers by invoking intellisense(starting your variable declaration using $).

 

imageimage 

Kind Regards,

Ashwin A.K

Reply