Coder's Guild Mailing List

Absolute values of phases

Posted by christopher.lambell on 2000-11-21

I cant say I know VB, but there will be a command such as 'ABS' which will
convert the given number to a positive number i.e. its absolute value.
Anothelengthy way could be to test if the number is less than 0, and if so
multiply it by -1.

Any way what does your program do with these phases and what is the program
about? 

Cheers 

Chris


Subject: Help! 

I'm creating a VB program that calculates numbers for phase. Since the 
program will return negative values as well as positive, I need to 
convert 
negative numbers to positive numbers through basic code so that negative 
values will not appear. 

Could someone help? 

Thanks: 

Terry