Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: √ ∞ ≠ ≤ ≥ ≈ ⇒ ∈ Δ θ ∴ ∑ ∫ π -

Login

Username

Password

Not registered yet?

#1 2011-12-19 21:02:27

model
Full Member

Offline

speed should be in double or int or float ? ?

speed should be calculate in integer or double or float ? ??
Please tell me with reason thanks


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

#2 2011-12-19 21:20:31

bobbym
Administrator

Offline

Re: speed should be in double or int or float ? ?

HI;

A float should be fine. I am assuming that speed is not an integer. A double is slower and uses more memory. But there might be spots where you need the extra precision. Basically you should be economical and use the smallest that you can.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Board footer

Powered by FluxBB