Portal
Search
Member List
Calendar
Help
Hello There, Guest!
Login
Register
Login
Username:
Password:
Lost Password?
Remember me
Forum
›
Compilers and Computer Languages
›
ZX Basic Compiler
›
How-To & Tutorials
« Previous
1
2
Float to Int?
Thread Rating:
0 Vote(s) - 0 Average
1
2
3
4
5
Threaded Mode
Float to Int?
slenkar
Senior Member
Posts: 282
Threads: 48
Joined: Feb 2011
Reputation:
0
#1
02-14-2012, 02:37 PM
how do you convert a float to an int?
Find
Reply
boriel
Administrator
Posts: 1,838
Threads: 56
Joined: Aug 2019
Reputation:
25
#2
02-14-2012, 02:43 PM
slenkar Wrote:
how do you convert a float to an int?
You can use INT, as in Sinclair BASIC or CAST(Int, <float expression>). See
CAST
entry in the Wiki for more info.
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Compilers and Computer Languages
-- ZX Basic Compiler
---- How-To & Tutorials
---- Bug Reports
---- Wishlist
------ Core
------ Library
---- Help & Support
---- Documentation
---- Gallery
---- Other Archs
Other
-- News
-- Off-Topic
Users browsing this thread: 2 Guest(s)