AW: [ASP] zahlen zerlegen

Marcus Gnaß activeserverpages at glengamoi.com
Fri, 14 Jan 2005 16:56:36 +0100


On 14 Jan 2005 at 16:03, Thomas Bandt wrote:

> Dim ErgebnisOhneNull
> If Left(Zahl,1) = 0 Then
>  For i=1 To 3
>   If Mid(Ergebnis,i) <> 0 Then
>    ErgebnisOhneNull = ErgebnisOhneNull &
> Mid(Ergebnis,i)
>   End If
>  Next
> Else
>  ErgebnisOhneNull = Ergebnis
> End If

ErgebnisOhneNull = CStr(CLng(Ergebnis))

Marcus