Hola DiegoDPF, la función que requieres es StrToCurr te adjunto ayuda de delphi sobre la función
Cita:
Converts a string to a Currency value.
Unit
SysUtils
Category
floating point conversion routines
function StrToCurr(const S: string): Currency;
Description
Call StrToCurr to convert a string that represents a floating-point value to the corresponding Currency value. The source string, S, must consist of an optional sign (+ or -), a string of digits with an optional decimal point, and an optional 'E' or 'e' followed by a signed integer. Leading and trailing blanks are ignored.
The DecimalSeparator global variable defines the character that is used as a decimal point. Thousand separators and currency symbols are not allowed in the string. If the string doesn't contain a valid value, StrToCurr raises an EConvertError exception.
|
Saludos