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.

Author
Message
Shopro
21
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Japan
Posted: 17th Dec 2002 18:53
I know this is a silly question but...
how would I represent the following in DBP?
http://warehouse26.tripod.com/Tan.jpg

My code:
b=480
c=480
print tan(b/c)

govies me the values "0.0174551"
Any replies would be appreciated, thank you

-Shopro
UberTuba
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 17th Dec 2002 21:31
b#=480
c#=480
print tan(b#/c#)
the # just means that the variable is a non-integer number.

Life is a terminal disease.
You never survive it.
haggisman
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 17th Dec 2002 22:02
Shopro use the atan command.

Specs:- 1GHZ athlon, Radeon8500, 192mb ram, winxp
UberTuba
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 17th Dec 2002 22:20
so does db pro, but dbpro will return "0.0174551"if u use that

Life is a terminal disease.
You never survive it.
Shopro
21
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Japan
Posted: 18th Dec 2002 08:07
Got it!
Thanks, haggisman and darkfluff.
I can make progress again

-Shopro

Login to post a reply

Server time is: 2024-05-02 09:05:31
Your offset time is: 2024-05-02 09:05:31