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 / Numbers -DBC-

Author
Message
Ginga
18
Years of Service
User Offline
Joined: 3rd Jul 2006
Location: Dorset, England
Posted: 14th Aug 2006 20:47
ok.. let me first say ,.. i CANT BELEIVE IM ASKING THIS! BUT...

due to the (dare i say it) not fully comprehensive help screen in DBC (a search function would rock), but how on earth do u get a variable to include decimal places :S

i know for a whole number u put INT(var) n to convert to string u put STR$(var) but i need 2 decimal places .. any one
Crit
18
Years of Service
User Offline
Joined: 24th May 2006
Location:
Posted: 14th Aug 2006 21:11
Not tested, but try something like this:
var=int(var*100)/100.0

CHESS ENCOUNTER
Demo
WIP

Login to post a reply

Server time is: 2024-09-25 05:25:07
Your offset time is: 2024-09-25 05:25:07