Float vs double

652 views

Hi, currently studying first year in IT. I dont really understand the diffference between float and double, and when to use which. Thank you for the replies beforehand.

In: Technology

2 Answers

Anonymous 0 Comments

Double does the same exact thing as afloat, bug it is more precise and can deal with much larger numbers, however it uses twice the memory

Depends on what you need, most of the time it really makes no difference, so you might as well use the smaller one, if you need more precision or larger numbers, go with double

You are viewing 1 out of 2 answers, click here to view all answers.