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

Login

Username

Password

Not registered yet?

Post a reply

Go back

Write your message and submit
:) :| :( :D :o ;) :/ :P :lol: :mad: :rolleyes: :cool: | :dizzy :eek :kiss :roflol :rolleyes :shame :down :up :touched :sleep :wave :swear :tongue :what :faint :dunno
Options

Go back

Topic review (newest first)

bobbym
2011-12-19 21:20:31

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.

model
2011-12-19 21:02:27

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

Board footer

Powered by FluxBB