Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 08-07-2003
DiegoDPF DiegoDPF is offline
Registrado
 
Registrado: jun 2003
Ubicación: Buenos Aires
Posts: 4
Poder: 0
DiegoDPF Va por buen camino
Unhappy Help!!!

Hola, Gente..

Disculpen la molestia, es que no tengo el Help de Delphi instalado y no se como hacer para convertir un String en un Money.

Si alguin me puede decir el nombre de la funcion, se lo agradecere

Salu2.
Responder Con Cita
  #2  
Antiguo 08-07-2003
Ruben_Cu Ruben_Cu is offline
No confirmado
 
Registrado: oct 2003
Ubicación: Mariel, Cuba
Posts: 271
Poder: 0
Ruben_Cu Va por buen camino
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
Responder Con Cita
  #3  
Antiguo 08-07-2003
DiegoDPF DiegoDPF is offline
Registrado
 
Registrado: jun 2003
Ubicación: Buenos Aires
Posts: 4
Poder: 0
DiegoDPF Va por buen camino
Gracias Ruben

Saludos!!
Responder Con Cita
Respuesta



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 18:16:20.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi