Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Access only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Access
Convert Text To Number (Double) Problem
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
rustyau13
New Member
Join Date:
Sep 2015
Posts:
1
#1
Convert Text To Number (Double) Problem
Sep 16 '15, 01:42 PM
I'm having some trouble converting text to a double(number) via Microsoft Access 2007 VBA. I did have a code before, but I can't remember it. Any help on an entire module will help.
Thanks
jforbes
Recognized Expert
Top Contributor
Join Date:
Aug 2014
Posts:
1107
#2
Sep 16 '15, 03:20 PM
Try using
Val()
:
Code:
?Val("3.4999393") + 3 Returns 6.4999393
Comment
Post
Cancel
Rabbit
Recognized Expert
MVP
Join Date:
Jan 2007
Posts:
12517
#3
Sep 16 '15, 03:52 PM
Safer to use the CDbl() function.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment