I have a Data with a list of bytes : [64, 69, 207, 65, 61, 225, 199, 151] hex string is equals : 4045cf413de1c797 I'm getting bytes with this function ...
I have a Data with a list of bytes : [64, 69, 207, 65, 61, 225, 199, 151] hex string is equals : 4045cf413de1c797 I'm getting bytes with this function ...
In my project, I need to convert price value (double/float) of some products to represent properly. If the value has any decimal value, it should show ...
When I was running the code for the leetcode question ""Moving Average from Data Stream"". I got a partly different output with the expected: Here is ...
I want to change the NAN result in the text label to 0. is there a solution in the recommendation?. Thanks ...
I have variables that are doubles and I want to get the double with only 2 numbers after the decimal point. I tried it with System.out.printf("%1.2f" ...
I have an error problem in the text label. Is there another solution? Thanks ...
I am looking through some code previously written by a senior developer in my company and I am curious about the reasoning behind the somewhat convolu ...
I wrote the following code as a practice for my OOP exam: I get an error in the line with the operator '+=' that says: 'no operator "+=" matches th ...
I am learning c programming language and am figuring out format specifiers, but it seems as if double and %f are not working corectly. Here is my cod ...
This is the code I will be using... The outputs are -2.147483649E9 and 2.147483647E9. I do not understand why these values are printed out. It is ...
Customer sends me a json double data like "amount": 123345555789123495.38 and in our program we get the whole message and program get the value like 1 ...
I am working on a java program, the program takes an input of a dollar amount and returns the number of hundreds, fifties, twenties, tens, fives, ones ...
I expect the value to be 12334555578912349.13 but output is 123345555789123504.00 How can I prevent it from rounding? ...
Into a Beanshell PostProcessor I have to increase a variable ( latitude_new) declared previously I wrote following code Please, could you help me to ...
I am trying to make a histogram with inputting a value and rounding it. The rounded value should print out the number of asterisks. I did the followi ...
Can anybody explain this: The two last statements also have strange result in following format: I need to use last statement but it is wrong app ...
as we can see this gives an error that is telling that 0.0 is double that can't assigned to Double datatype then i tried Double as datatype and my ...
I am trying to integrate double integrals with 0 to infinity and 0 to x as bounds in R. However, adaptIntegrate() cannot take function as bounds, and ...
I want to get one decimal place of a double in Dart. I use the toStringAsFixed() method to get it, but it returns a round-up value. How can I get i ...
I have a program in which I am plotting a function in the console, and I am iterating through a value of y which is a float. However, when this value ...