|
-
Apr 25th, 2005, 01:59 AM
#1
Thread Starter
Junior Member
text field value to be converted to double with 2 decimal places
Hi,
I have a text field and would like to convert this to a double value with 2 decimal places. I have this field defined as a variant - is this ok or should it be defined as double?
-
Apr 25th, 2005, 02:04 AM
#2
Re: text field value to be converted to double with 2 decimal places
If you might put alphanumeric data into the textbox, then it should be String, but if it is only going to be numberic, then you should use Double.
You can use this to format it to two decimal places.
-
Apr 25th, 2005, 02:45 AM
#3
Hyperactive Member
Re: text field value to be converted to double with 2 decimal places
does your textbox bound to your data?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|