Excel number format

New Contributor

Until recently, I am sure that if I entered a number with 0 decimal places I simply entered the number and it was correct.  Now I am forced to add a decimal point.  Has something change or have I got it wrong and it was always the case?


For example, if I enter 18 with decimal places seet at 0, and do not add a decimal point the result is 0. 

2 Replies
Ensure that your number format is set to General.



Thank you.  Yes, it is set to General, but the issue remains.  To input a whole number with the decimal places set at '0' I have to add a decimal point after the number: if I don't, it goes to 2 decimal places.  E.g. if I enter '18' without adding a decimal point and with the number of decimal places set to '0' the result is 0.18!
Related Conversations
Conditional formatting with wildcard
Rajeev_Raghavan in Excel on
0 Replies
Inconsistency error in the MROUND function
Fleischbender in Excel on
0 Replies
MarcAdank in Excel on
0 Replies
INDEX MATCH function, avoid duplicate returns
certavi in Excel on
1 Replies
Automatic Selling price calculator
nic140274 in Excel on
11 Replies