Raised This Month: $ Target: $400
 0% 

Problem with Float in checking its figures


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-08-2019 , 23:13   Re: Problem with Float in checking its figures
Reply With Quote #4

Also note that a floating point value can never exactly represent a value of 1.0. Since you're using the variable as a boolean value, define it as a boolean tag.

Code:
new bool:WallStatus[33][3]
WallStatus[id][1] = true
__________________

Last edited by fysiks; 11-08-2019 at 23:16.
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode