Top "Double" questions

Double is a primitive data type used to store fractional numbers that holds a double-precision floating-point (often 64 bits).

Underlining Text in an <input> Box

I've gotten a request from a client to underline text in a text field. Both single and double lines. Is …

html double textfield underline
How to round double values but keep trailing zeros

In C# I want a function that rounds a given double to a given amount of decimals. I always want …

c# math c#-2.0 double rounding
How to convert a double into an unsigned char?

I'm looking to change a vector of doubles into unsigned chars using c++. To make sure it works I wrote: …

c++ casting type-conversion double unsigned-char
How to convert type double to string iPhone?

I am calculating the velocity of an iPhone, and I need to know how to convert the variable calculatedSpeed which …

iphone xcode nsstring double velocity
Why does adding 0.1 multiple times remain lossless?

I know the 0.1 decimal number cannot be represented exactly with a finite binary number (explanation), so double n = 0.1 will lose …

java floating-point double precision
Convert unsigned long long to double in C

I realize this question could be processor dependent, but hopefully someone can point me in the right direction. For the …

c double type-conversion c99 uint64
Sum of decimal number in java

I have a problem for the managemente of decimal number in java (JDK 1.4). I have two double numbers first and …

java double decimal approximation
sqrt() of int type in C

I am programming in the c language on mac os x. I am using sqrt, from math.h, function like …

c int double sqrt
Double ToString - No Scientific Notation

I just came across the wonderful "feature" that .NET will by default do Double.ToString() using scientific notation if there …

c# .net double tostring
Empty String to Double using (Try)Parse

I've got a with 1.1 build system here using Parse for converting values (now it's 3.5). string myString = String.Empty; double myValue = …

c# parsing double tryparse