[simpits-tech] Changing numbers in VB6.0

Stuart Whelan simpits-tech@simpits.org
Tue, 18 Feb 2003 09:02:49 +1300


Several ways.. The easiest is to treat convert it to a string and read
the individual characters.

> -----Original Message-----
> From: simpits-tech-admin@simpits.org 
> [mailto:simpits-tech-admin@simpits.org] On Behalf Of Ken Trager
> Sent: Tuesday, 18 February 2003 8:37 a.m.
> To: simpits-tech@simpits.org
> Subject: [simpits-tech] Changing numbers in VB6.0
> 
> 
> Hello all
> 
> Here is the problem
> 
> A/P VSI is displayed in four numbers   - - - like 1200
> 
> question is how to break that number down into single digits
> 
> Iam trying to sent out the data to display it but I need to 
> send it out one digit at a time.
> 
> This example when be
> 
> First number - 1
> Second - 2
> Third - 0
> Fourth - 0
> 
> Is there a way to do this in VB programing?
> 
> Thanks all
> 
> Ken Trager
> 
> _______________________________________________
> Simpits-tech mailing list
> Simpits-tech@simpits.org 
> http://www.simpits.org/mailman/listinfo/simpit> s-tech
> To 
> unsubscribe, please see the instructions at the 
> bottom of the above page.  Thanks!
>