Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Float to Int?
#1
how do you convert a float to an int?
Reply
#2
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)