Unable to remove decimal from number in Number Column in SharePoint - sharepoint

I have a number column in a sharepoint list with the following settings in place (see screen shot). I need to only see a whole number but a decimal still displays even though 0 is selected for decimal places. Is it possible to remove the decimal from the number?
Thanks

After my tests, only integers will be displayed after selecting 0 for decimal places.
You can try the following to see if that solves the problem:
You could try to clear browser cache then restart it.
Try to use a different browser or your browser's InPrivate mode to see if the same error occurs.
Whether all SharePoint lists have the same problem? You could create a new number column in another SharePoint list to check.

I had the same problem with decimals not going away. I fixed it by right clicking on edit for that column then chose "more options" dropdown then I clicked "No" on the "Use thousands separator" toggle and the decimals finally went away. Just remember to also choose "0" for number of decimal places as well.

Related

Value of the cell moves to the left after editing in the userform

I have been facing a strange issue lately. So, the user has the ability to change value of the cell from the userform window, however, after apply changes somehow the values go from the right to the left (only ones with decimals) and that creates a problem when the data is read by another software (Matlab) it can not be read. I have tried to reformat it as number or general to see what happens but nothing. The only thing that changes it back to the right is (find & Replace "," with ","). Anyone knows why this happens? Any solutions ? (see picture for demonstration)
Maybe look in the code for the user form. As I understand it the edit box treats everything as a string. So when the number goes initially from the sheet to the form it is converted into a string. Hence when it is written back, the sheet thinks it’s a string. In the code underlying the form you need to intervene and turn the string back to a number (eg using CDbl() ). If you enter a value (or change) a number directly on the sheet, Excel will try and be ‘helpful’ and convert things that look like numbers into numbers (it does the same with dates). – Solution by #DS_London

Configure default number format to 0 decimal places for new/existing workbooks in Excel 365 ProPlus?

My problem is repeatedly removing decimal places throughout my workday.
Whenever I change a cell to number format, it defaults to 2 decimal places. 5 becomes 5.00. I then have to Decrease Decimal twice to convert the 5.00 back to 5.
I'm looking for a way to change Excel's settings so that the Number format option defaults to zero decimal places whenever I select Number format any time that I'm working with excel.
I tried the File >> Options >> Advanced menu, 2nd checkbox option to 0 decimal places and this does not work. I am aware of the methods to manually change a cells formatting including number and custom formatting codes. But I do not know how to change the global setting to prevent the issue in the first place.
Is there a setting or configuation work around that would do this?
I'm using Excel 365 ProPlus Version 1708.
I have wasted a lot of time repeating the process of decreasing decimal places in Excel.
Natively Excel doesn't offer an option to change this.
The way you can tackle it is by doing it in Windows.
So for Windows 10:
Open Windows settings
Search for "Region"
Click additional date, time and regional settings
Click Format tab / Additional settings ...
Change the number of decimals
I have a tutorial here (in spanish, but you get the picture)
Use styles.
Right-click the Normal style, click Modify, click Format.
Set the Number format to 0 decimals and confirm all dialogs.
Now all cells in your workbook that have been formatted with the Normal style (which is the default), will lose their decimals.
Do this with a new blank workbook and use it as a template for all new workbooks you start or put it in the Excel start folder.

How can I limit the display of columns on Excel?

I would like to create an Excel document with all the date from 01-01-2018 to 31-12-2018 with each day in a separate columns but only display a certain amount of days (not the entire year) with the possibility to scroll left or right to see the rest. What can I do to achieve this ?
I've tried to to freeze the panes but it's not what I want.
What I have :
What I would like (with a scroll bar) :
You can only freeze one side of the table, and even if you use the Split button to try to hold the other side still, it turns off the freeze, so you can't do both at once (which would have solved it).
https://support.office.com/en-us/article/split-panes-to-lock-rows-or-columns-in-separate-worksheet-areas-516a7001-b3ed-4122-a6bb-fd6d4a9d6434
If you turn the spreadsheet sideways, so the dates go down the page instead of across, you may be able to do something with the Group button:
Sorry but I don't think there is a way to solve it properly, maybe you can move the static columns from the right over to the left too?

Crystal Reports displays #### in numeric fields after upgrade

I upgraded a Visual Studio solution containing Crystal Report files. Since the upgrade, the reports are displaying cross hatches (also called number signs: #####) when fields are too narrow to display their values. It was not doing that before. Is there any easy solution?
I have 9 reports, and although I tested them all, and fixed the width of the fields that appeared to be too narrow, when I use different data sets, I always find new cases where the field is too narrow to display the value.
What I have found out is that most of the time, only a few pixels are missing. On the old reports, I can even see that some numbers are cut a bit on the edge, but it does not prevent to read the values. The new version of Crystal Reports replaces those values by #####.
I guess I have two solutions: Enlarge all the fields by a few pixels or reduce the font size. I am not sure though if there is a way to do this globally, or if I have to do this by hand for every field.
Is there an easy way to tell Crytsal Reports, in such field, I want to be able to display let's say 5 digits using Courrier New 10 points?
I using Visual Studio 2012, .Net 4.5 and SAP Crystal Reports, developer version for Microsoft Visual Studio SP5. The old reports were from the time when Crystal Reports was embedded in VS.
If you can't format the fields to accommodate the largest values from the database, then you don't have many good options without moving to a non-printable-format. These two things might be useful to you:
Enable the clipping of those fields so that they no longer show the '###'. You can do this by right-clicking the number fields having this issue, selecting "Format Field", then go to the "Number" tab, then click "Customize". There should be a check box that reads "Allow Field Clipping". In my mind, this is pretty dangerous as values can appear differently than their true numerical values.
Set the fields to grow when the values are larger than their field size on the canvas. This will extend the fields down the page (I don't believe there is a way to do this horizontally) when necessary. You can access this option by right-clicking the fields, selecting "Format Field", then go to the "Common" tab and select "Can Grow". Note that this doesn't work for numeric fields so you will have to convert it to a string first.
EDIT: Now that I think about it, there is a way to extend a field horizontally, but it's slightly more difficult to pull off and will require calculating and passing the desired width via a formula. You can access this formula by right-clicking those fields, selecting "Size and Position" and clicking the formula button next to "Width".
Whenever I come across #### problem while displaying data to field, I just simply increase width of that crystal reports field

ssrs 2008 r2 pdf blank pages

I have report with dynamic-width list which when exported to pdf has every second page blank. I followed instructions given here, squeezed everything as hard as I could - and it worked. However I also have footer inside which I have horizontal line that should continue through whole page width. If I make it long I have every second page blank, if I make it short - it stays that short. Also suppose I need to have textbox at the far right corner of a page, which again would make blank pages in pdf to appear. Is there any solution to this?
One thing I have found useful to diagnose exactly why SSRS is generating blank pages, is to set the background of the report (or report elements) to a non-white color. Generate the report again, then you can usually see what is being spilt over into another page. You can usually figure out what SSRS is doing, and tweak your report accordingly.
Set the report property ConsumeContainerWhitespace to True. I believe the default is false, so if you didn't think to ltrim(rtrim()) in your dataset, something I often forget to do, then the whitespace could be causing it.
For the line, if it is simply to separate the footer from the body of the report, try selecting the entire footer row and set the BorderStyle-Top property to Solid instead of having a line.
For the text box, it has to be entirely within the page dimensions or you will get a second mostly blank page. Left margin + right margin + report width <= page width. On one of our printers this still isn't enough so we have to reduce the right margin by another 0.05cm more (so 0.45cm instead of 0.5cm which it should be) to stop getting blank pages every second page.

Resources