Skip to main content
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

  • January 27, 2022
  • 1 reply
  • 170 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

Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • January 27, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings