[Lazarus] procedure FloatToDecimal

Héctor Fiandor Rosario hfiandor at infomed.sld.cu
Sat Aug 30 04:19:47 CEST 2008


Dear sirs:

I need to convert a Float to a number with two decimal places in a Lazarus 
Project for Windows..

I am thinking to use the following procedure:

procedure FloatToDecimal(var DecVal: TFloatRec; const Value; ValueType: 
TFloatValue; Precision, Decimals: Integer);

but I dont know what to write in some of the arguments.

Thanks in advance for your help,

yours truly,

Ing. Héctor F. Fiandor
hfiandor at infomed.sld.cu 




More information about the Lazarus mailing list