DanNorris2000
Technical User
Trying to convert some numeric data but not having much luck with the results.
I have a numeric field 4,0 called bookperiod
Sample: 200105
199903
200006
I would like to convert this to numeric 3,0
101
99
100 (dont ask why)
I tried the following:
Val(substr(str(Ledger.bookper),1,4))-1900 as bookyr
but my result was -1900
where did I go wrong?
I have a numeric field 4,0 called bookperiod
Sample: 200105
199903
200006
I would like to convert this to numeric 3,0
101
99
100 (dont ask why)
I tried the following:
Val(substr(str(Ledger.bookper),1,4))-1900 as bookyr
but my result was -1900
where did I go wrong?