Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: converting a string to a double


Message #1 by "Verhoeven Bart" <bart.verhoeven@p...> on Tue, 10 Apr 2001 19:15:31 +0200
This is a multi-part message in MIME format.

------=_NextPart_000_005A_01C0C26E.E49D9EA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi,

   If I am correct, I think you want to change the result into a  
double. If it is, then use the CDbl function.

Hope this helps,

N.T.GOPALAKRISHNAN
  ----- Original Message -----
  From: Verhoeven Bart
  To: professional vb
  Sent: Tuesday, April 10, 2001 10:45 PM
  Subject: [pro_vb] converting a string to a double


  Hi,
  
  I got a problem
  
  A user enters a formule like A * B / C
  He then determines what field A responds to and so on
  
  My program then calculates the totals for each field and replaces them
  in the string
  
  So "A * B /C" becomes something like "25 * 5 / 6"
  
  How do I convert this to a double so that I get the result ???
  
  Verhoeven Bart







  Return to Index