2 Replies Latest reply on Aug 10, 2012 2:47 PM by Kirk_1

    Can i combine get as number with left?

    Kirk_1

      Title

      Can i combine get as number with left?

      Post

      Im trying to get this data set (010374 which = $ratebasisnum) as a number, then get the 1st number to its left or the 1

      Im using the statement:

      If [getasnumber ($ratebasisnum) < 5000]

           set Variable [$scaleNumber; value:getasnumber ($ratebasisnum) & left ($ratebasisnum ; 1)

      end if

      In the data viewer $scalenumber = 10374

      I tried taking out the getasnumber and i get 0

       

      Why?