forums

TNT Basic Forums > Programming Q&A
INT() type thing
< Last Thread     Next Thread >
Author
Thread        Post A Reply

08-21-2003 18:13

Posted by:
WildBoar

Location:
Ohio

Find more posts by WildBoar

Does TNT have something like INT(float).

example:
---
float xf=10.125
print INT(xf)
---

...would result: 10

08-21-2003 23:14

Posted by:
someone

Location:
Quebec ( Canada )

Click Here to Email someone   Find more posts by someone

int x=round(8.7)
print x

this will print 9

08-21-2003 23:17

Posted by:
someone

Location:
Quebec ( Canada )

Click Here to Email someone   Find more posts by someone

You should check the documentation. Strangely, it's included with TNT but there is no link to it. ( Or did I miss it? ) Double click on the User Guide file included with TNT. Click on the home bottun at the top of the screen. Select TNT Basic Documentation.

08-22-2003 06:53

Posted by:
eekaydee

Location:
CA, USA

Click Here to Email eekaydee   Find more posts by eekaydee

quote:
Strangely, it's included with TNT but there is no link to it. ( Or did I miss it? )


It's under the help menu in the menubar, both the User Guide and the Help File

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.