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
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com