Joined: 28 May 2008
Location: Australia
Online Status: Offline
Posts: 179
Topic: remove brackets around a value Posted: 07 Apr 2009 at 4:21pm
Hi
I wish to remove a pair of brackets ( ) around a value in "tonumber({@get_value})" in the line in red:
if left(gvalue,1) <> '(' then sub_value_amt := sub_value_amt + tonumber({@get_value}) else sub_value_amt := sub_value_amt - tonumber({@get_value})
Note: {@get_value} contains a cost something like '($5.00)' , it's a string, after removing the brackets, then it converts to number type for further subtraction.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum