Page 1 of 1
How's change negative number to bracket in TCBrowse/XBrowse?
Posted: Wed Mar 01, 2017 8:44 am
by richard-service
Hi
As Title?
Ex.
-100,000 change to (100,000)
100,000 change to 100,000
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Posted: Wed Mar 01, 2017 9:47 am
by Carlos Mora
Hi,
I didn't tested but.. Have you used '@)' in the picture? I remember that the picture/transform ( function should do the trick.
Example from Clipper Guide:
Code: Select all
@ 2, 1 SAY nNetLoss PICTURE "@)"
// Result: (125.50)
Regardsj
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Posted: Thu Mar 02, 2017 2:30 am
by joseluisysturiz
richard-service wrote:Hi
As Title?
Ex.
-100,000 change to (100,000)
100,000 change to 100,000
Saludos, -100.000 x (-1) = 100.000...saludos..
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Posted: Thu Mar 02, 2017 4:07 pm
by Willi Quintana
Holas,,,
x := -1000.23
y := ABS(x)
? y
1000.23
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Posted: Thu Mar 02, 2017 4:42 pm
by richard-service
Hi Helper,
Thanks a lot for this.
I mean negative number replace to bracket.
Ex. -100,000 => I want to show (100,000)
-10 => I want to show (10)
1,000 => same as 1,000
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Posted: Sat Mar 04, 2017 6:15 pm
by kok joek hoa
Hi Richard,
Use :
picture '@( 9,999,999,999'
Regards,
Kok
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Posted: Sat Mar 04, 2017 11:45 pm
by richard-service
kok joek hoa wrote:Hi Richard,
Use :
picture '@( 9,999,999,999'
Regards,
Kok
Hi Kok
I will try it. Thanks a lot