Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

**model****Member**- Registered: 2011-08-10
- Posts: 142

speed should be calculate in integer or double or float ? ??

Please tell me with reason thanks

Maths is Doctor that make our life easy ..

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,231

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.Of course that result can be rigorously obtained, but who cares?Combinatorics is Algebra and Algebra is Combinatorics.**

Offline