Converting decimal into percentage in advance query

Converting decimal into percentage in advance query

  
Hello Everybody,
I am trying to convert a decimal into a percentage with two decimal points in the percentage.  I tried str(somepercentnum * 100, 5, 2).  This worked in SQL Server Management Studio, but does not work in an advance query in Outsystems.  I tried CONVERT() and CAST() and made it work in SQL Server Management Studio, but again...it fails in an advance query in Outsystems. 
Thanks in advance.
Frank
Also, I need the % sign in the back of the percentage number after it is converted.  I tried doing this and could not either.  str(somepercentnum * 100, 5, 2) + '%'.
Thanks,
Frank