Jump to content

weird float numbers?


Recommended Posts

Posted

im getting float from database..

its 4.0 for example

then im triggering client event and sending that value

on client im doing tostring

and putting in into grid ceil

...

and it is like 4.0000003

the question is:

WHY?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...