[Lazarus] help in maths

Coppola Ing. Salvatore coppolastudio at gmail.com
Fri May 29 11:58:29 CEST 2009


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
> hfiandor at infomed.sld.cu
>
> ---------------------------------------
>    Red Telematica de Salud - Cuba
>          CNICM - Infomed
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> 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




More information about the Lazarus mailing list