It works well enough using format code "# ??/200".
I guess I can use /200 for all of them but I was hoping for a formula
that would pick the lowest denominator.
On 2019-04-25 6:45 p.m., Remy Gauthier wrote:
I am assuming you are using Calc. There is no formula to do this: it
is a cell formatting accessible via Format -> Cells... -> Numbers Tab,
then go to the "Fraction" category. There you can select the # ???/???
format which will do what you are looking for.
I hope this helps.
Le jeudi 25 avril 2019 à 21:42 +0000, James a écrit :
I need a formula that takes as input a percent and outputs a fraction
that only has whole numbers.
1% -> "1/100"
0.5% -> "1/200"
1.5% -> "3/200"
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy