Hi
As Title?
Ex.
-100,000 change to (100,000)
100,000 change to 100,000
How's change negative number to bracket in TCBrowse/XBrowse?
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
How's change negative number to bracket in TCBrowse/XBrowse?
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
-
- Posts: 988
- Joined: Thu Nov 24, 2005 3:01 pm
- Location: Madrid, España
Re: How's change negative number to bracket in TCBrowse/XBrowse?
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:
Regardsj
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)
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
- joseluisysturiz
- Posts: 2024
- Joined: Fri Jan 06, 2006 9:28 pm
- Location: Guatire - Caracas - Venezuela
- Contact:
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Saludos, -100.000 x (-1) = 100.000...saludos..richard-service wrote:Hi
As Title?
Ex.
-100,000 change to (100,000)
100,000 change to 100,000
Dios no está muerto...
Gracias a mi Dios ante todo!
Gracias a mi Dios ante todo!
- Willi Quintana
- Posts: 859
- Joined: Sun Oct 09, 2005 10:41 pm
- Location: Cusco - Perú
- Contact:
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Holas,,,
x := -1000.23
y := ABS(x)
? y
1000.23
x := -1000.23
y := ABS(x)
? y
1000.23
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: How's change negative number to bracket in TCBrowse/XBrowse?
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
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
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
-
- Posts: 117
- Joined: Tue Jan 03, 2006 6:18 pm
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Hi Richard,
Use :
picture '@( 9,999,999,999'
Regards,
Kok
Use :
picture '@( 9,999,999,999'
Regards,
Kok
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: How's change negative number to bracket in TCBrowse/XBrowse?
Hi Kokkok joek hoa wrote:Hi Richard,
Use :
picture '@( 9,999,999,999'
Regards,
Kok
I will try it. Thanks a lot
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit