| Post Reply | RetroFed Forum Forum Index » LibreOffice |
| Author | Message | ||
|---|---|---|---|
Flagstaff
programming.dev
Flagstaff@programming.devJoined: 2025-02-18 |
Even "Number Format: General" still omits the starting 0. I can't even get it to show up if I lead with a space or a "-." What is the trick? This is super-annoying. |
||
| 18 Original | |||
|
death_to_carrots
feddit.org
death_to_carrots@feddit.org Joined: 2024-06-22 |
Start with a »'«. Or configure the cell to not be a number, but a string. |
||
| 8 | |||
|
OhNoMoreLemmy
lemmy.ml
OhNoMoreLemmy@lemmy.ml Joined: 2023-06-04 |
There's two options, one is to turn it into a string as discussed. The other is:
https://help.libreoffice.org/latest/en-US/text/scalc/guide/integer_leading_zero.html |
||
| 14 | |||
Bev's Dad
lemmy.ca
BevsDad@lemmy.caJoined: 2025-03-06 |
Start with a »'«. Or configure the cell to not be a number, but a string.
Yeah, 050 is a string not a number programing wise. |
||
| 2 | |||
|
Dookieman12
piefed.social
Dookieman12@piefed.social Joined: 2026-07-01 |
Change the number format to 'Text'. General will attempt to apply the correct format based on cell contents. The numbers are making it implicitly apply the 'Number' format to the cell. |
||
| 5 | |||
|
n4sdaq
lemmy.dbzer0.com
n4sdaq@lemmy.dbzer0.com Joined: 2024-06-13 |
Did you try putting a ' at the start of the cell? |
||
| 3 | |||
|
HubertManne
piefed.social
HubertManne@piefed.social Joined: 2025-03-13 |
people already explained the options but just want to mention I just do the string thing. The only time I come across the need is for id type numbers and usually am not going to do any math on it. in that case i makes sense to treat it as a string. |
||
| 1 | |||
Zier
fedia.io
Zier@fedia.ioJoined: 2023-06-17 |
Format Cells / Numbers (tab) Do not format numbers as 'Text' if you need to use them in formulas of finance like sums. |
||
| 4 | |||
Flagstaff
programming.dev
Flagstaff@programming.devJoined: 2025-02-18 |
Did you try putting a ' at the start of the cell?
Thanks, I do know about that but I want to avoid using an escape char because I want to be able to copy the cell without hidden characters entering the clipboard. |
||
| 2 | |||
Flagstaff
programming.dev
Flagstaff@programming.devJoined: 2025-02-18 |
people already explained the options but just want to mention I just do the string thing. The only time I come across the need is for id type numbers and usually am not going to do any math on it. in that case i makes sense to treat it as a string.
Right, same; this is part of an ID and is needed. I'm not at a computer right now to check but I'll look for it some more, thanks to the other commentators' guidance here (I had posted here because I couldn't find it)... |
||
| 1 | |||
| Post Reply |
Back to top |