? Putting # after a number forces it to be a real (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Putting # after a number forces it to be a real

  • #1 ✎ 1793 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself To force a number to be a real, you can put # after it: ?TYPEOF(4) 1 'integer ?TYPEOF(4#) 0 'real (The TYPEOF() function can be found here: http://smilebasicsource.com/page?pid=51) You could also use . (or .0 like in most languages), but either way it's pretty much useless. Posted