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 / How to assign a integer/real number to a string???

Author
Message
FiShFuN4eVeR
21
Years of Service
User Offline
Joined: 2nd Feb 2003
Location: Netherlands
Posted: 5th Jun 2003 14:30
Hello,

I have a quetion and that is: How can I give my string like A$ or something the value of a integer/real number like B#? I tryd to do this

A$=B#

But that doesn't work. I use dbclassic.

anybody knows it?
If good programmer()=1 then print "Finaly I get to the top "
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Jun 2003 15:09
Like this : a$=str$(b#)
FiShFuN4eVeR
21
Years of Service
User Offline
Joined: 2nd Feb 2003
Location: Netherlands
Posted: 5th Jun 2003 17:36
Thnx!

If good programmer()=1 then print "Finaly I get to the top "
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Jun 2003 20:18
You're welcome

Login to post a reply

Server time is: 2024-11-24 17:07:35
Your offset time is: 2024-11-24 17:07:35