Most voted "numerical-representation" questions
Expression used to denote forms representing a numerical value. The best known forms are decimal, binary and hexadecimal.
Learn more…6 questions
Sort by count of
-
66
votes2
answers38176
viewsHow do hexadecimal numbers work?
I have seen that software libraries written in C, in general, use hexadecimal numbers. And Assembly programmers also need to be ninjas with this numerical system. It is not anywhere that one finds a…
-
34
votes15
answers4487
viewsDetermine if all digits are equal
It takes as a parameter a numerical value. For example, 888 or 546. And I have a function that returns a value one boolean true if all numbers are equal, or false if they are different. How do I…
-
13
votes3
answers759
viewsComparison between a numeric string and an alphanumeric string
The following operation returns true: var_dump("1" == "1e0"); //1 == 1 -> true But if I add an "e" at the end of the second string, it already returns false: var_dump("1" == "1e0e"); //1 == 1…
-
13
votes3
answers4364
viewsWhat are decimal, hexadecimal, and octal notation numbers?
What are decimal (base 10), hexadecimal (base 16) and octal (base 8) notation numbers? In the book the code is like this: <?php // numero decimal $a = 1234; // numero octal (equivalente a 83 em…
hexadecimal decimal numerical-representation octalasked 9 years, 11 months ago João Paulo Vieira da Silva 1,933 -
9
votes3
answers559
viewsWhat’s the best way to play a Loop in math?
I needed to represent and document an arithmetic algorithm in a mathematical notation, the problem is I can’t find the best way to represent a compound loop for that. Suppose we have the simple…
-
3
votes1
answer105
viewsHow does the use of other numerical bases in C#work?
When I was learning the basics of variables in C#, I learned that the whole numerical statements (Int32) used the numerical base 10, which is what we use most commonly in our day to day life. A…