Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VBScript
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00188961
Message ID:
00188969
Vues:
18
Oh, duh! I didn't even think of that.

Thanks,

-Michelle

>I don't know if there is one command but If I understand what you want to do you should be able to use Int(number) to return the Integer then subtract that from the whole to get your decimal.
>
>Jeff
>
>
>>Ok, that's good for the SUBSTR(), but how do I get it to a string?
>>
>>Thanks,
>>
>>-Michelle
>>
>>>Take a look at Mid Mid(string, start[, length])
>>>
>>>HTH
>>>Jeff
>>>
>>>>Yeah, I know this is off topic, but where else can I get a quick answer? :)
>>>>
>>>>Anyway, does anyone know how to do STR() and SUBSTR() in VBS? Either that or a function that keeps the decimals and drops the integer. The last way is prefered.
>>>>
>>>>I need to do the STR() with decimals, so I can't use CSTR().
>>>>
>>>>Thanks,
>>>>
>>>>-Michelle
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform