python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why does C++ automatically rounds float
I have a code like this...
#include<iostream>
using namespace std;
int main(){
float num;
cin >> num;
cout << num;
return 0;
}
Input: 256.1024
Output: 256.102
Why does...

Antonio2502
Votes: 0
Answers: 0
Change . to , decimal number userform entry on vba
I have a create a Userform VBA EXCEL asking an Exchange Rare value, the entry comes (for example) 1.25, but Excel don't recognized as number. So as soon as I tried a calculation on new cell, the error...

MarkuS_AureliuS
Votes: 0
Answers: 0
How round dataframe column with the same decimals quantity of another column
I have a pandas dataframe like this:
df = pd.DataFrame([
{'A': 'aaa', 'B': 0.01, 'C': 0.00001, 'D': 0.00999999999476131, 'E': 0.00023191546403037534},
{'A': 'bbb', 'B': 0.01, ...
xarc
Votes: 0
Answers: 2
change decimal on y axis, geom_bar, "accuracy" not working
I would like to design a bar plot that shows the frequencies of age classes in percent on the y-axis with no decimal. I use ggplot and geom_bar. I have read many posts but I can't remove the one deci...
Manu97
Votes: 0
Answers: 1