Héctor Fiandor Rosario ha scritto:
Dears people:

I need to apply Pitagoras theorem but I found some difficulties with FP in get the power of a number.

I use x ** y (x as base and y as power) but the fp indicates and overload.

I will appreciate any help.

yours,

Ing. Héctor F. Fiandor
[email protected]

---------------------------------------
   Red Telematica de Salud - Cuba
         CNICM - Infomed

_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

use sqr(x) to get x^2 or pow(x,2) in unit math
and sqrt to get the rsquare

_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to