FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Negative and positive
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Negative and positive
Posted: Tue Sep 18, 2012 10:33 PM
How I can make to see if a number is negative or positive ?
I have a dbf with two fields

Code (fw): Select all Collapse
Tot_Hour                                                 Tot_Min
0                                                                 22
8                                                               -13
5                                                               -34
-3                                                                0 
2                                                                16
1                                                                4





I must sun all Hour positive and Hour Negative and then also the minutes
Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
Re: Negative and positive
Posted: Wed Sep 19, 2012 01:42 AM

if < 0 = negative
if > 0 = positive

Thank you

Harvey
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: Negative and positive
Posted: Wed Sep 19, 2012 06:48 AM
Eoeo wrote:How I can make to see if a number is negative or positive ? 


And you are a senior programmer ? :-) :-) :-)
Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
Re: Negative and positive
Posted: Wed Sep 19, 2012 03:20 PM

Thanks but a novice.

Thank you

Harvey
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Re: Negative and positive
Posted: Wed Sep 19, 2012 07:20 PM

please U and Massimo not understood the question

please read this viewtopic.php?f=3&t=24861

I'm talking of number positive and negative but I mean another ....the flexibility negative and positive of a number !!!!!

Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: Negative and positive
Posted: Thu Sep 20, 2012 07:37 AM

Are always the others do not understand what you write. Do you ever doubt that it is you who do not know how to make the questions in the right way ?
What the hell means flexibility of a number ?

Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Re: Negative and positive
Posted: Thu Sep 20, 2012 08:22 AM

I can say as you sad me ( at private email) "Non scassare la fava"

Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: Negative and positive
Posted: Thu Sep 20, 2012 08:35 AM

And I repeat the same here to you. Try to find a good doctor. And everything will RUN OK, with your brain.

Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Re: Negative and positive
Posted: Thu Sep 20, 2012 08:42 AM

Silence is the only answer to be given to folls because where ignorance is what the intelligence is silent!

Continue the discussion