Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Absolute Value

Status
Not open for further replies.

alberto1974

Technical User
Jul 20, 2004
10
0
0
US
Hello guys,
Sorry for this question, I was reading the aspect script documentation but I can not find if aspect script has anything to get the absolute value of an integer.
Thanks.
 
Aspect seems to be a dead forum. I have spent the last month here reading over things trying to learn more about AOP. Can I ask what your trying to do in AOP that requires an absolute value of an integer?
 
Hello Mad Scientist, sorry about delayed reply, I am doing some experiments trying to solve a problem that is not from work, something about algorithms, the problem known as n-queens, there is a kind of formula to calculate or deduce that another queen is in the same either row, column or diagonal and for those calculations the absolute value of a number is needed, I solved it by using ITOA and as string removing the sign and then ATOI.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top