|
From: Masthan R. <mas...@gm...> - 2005-06-27 09:48:50
|
Hi Scott, I have worked and tried your problem. The possible solution is multiply the= =20 returned value with -1. You can write the code like this. "(pow(2,8)/2+1) * -1" which will return the negative value or the other=20 option is to use the *abs()* which does the same functionality. If u still= =20 got problem Pls reply me back. Regards Masthan On 6/27/05, Scott <fre...@ve...> wrote:=20 >=20 > Hi peoples, > Can anyone shed some light on how i achieve a minus pow value? > I'm trying to place a point at -128.5=20 > I'm using "pow(2,8)/2+1" Will will give me 128.5.... > How do i get that to return -128.5 instead of a positive value > Iv'e tried putting the - simple in various place, to no avail. > Cheers, > Scott. > =20 --=20 Regards Masthan |