Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / combining to numbers as a string

Author
Message
badrock
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: Missouri, USA
Posted: 1st Jan 2008 21:07
I have two different variables that I would like to combine. Example:



I am trying to find out how to have the result be 2008 (200 & 8), but can't seem to figure out how. Driving me bonkers because I know it should be a easy one!

badrock
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 1st Jan 2008 21:11
First you use STR$() on each number, then use the + sign to combine them:


badrock
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: Missouri, USA
Posted: 2nd Jan 2008 02:55
Thank you Ian!

Login to post a reply

Server time is: 2024-11-26 05:54:33
Your offset time is: 2024-11-26 05:54:33