You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

When using base 12 in Numbers, how to make Numbers DISPLAY two digits beyond the radix point?

I have created a spreadsheet using drag/drop that is a multiplication table. All are correct.


Below the table, I have tried the functions in PEMDAS, and ROOT, plus ROOT using fractions (for SQRT).


I have used percentage, but because I'm using base 12, I need PerGrossage. I used a formula to do that, in the next column: 10×(N31÷12)


The problem is, the example that I typed into the first column was 0.6 (which is 1/2 in base 12), and it calculates as though I want decimal 0.6. So I used the above formula to convert to comparison to 144, and I get the correct answer. But, if I were to make this part of a sheet for real use, I would want to see the 0.6 instead of the 1 that is showing.


I've tried addition, division, etc, and the values are always correct, but the DISPLAYED value is rounded.


How can I make Numbers DISPLAY the whole number with radix point and following digits (for per dozen or per grossage)? If it's a hassle, then I will leave it always at "per grossage" so two digits right of the radix point is always displayed. But I'd prefer an easy way to switch back and forth, as needed.




MacBook Pro 16″, macOS 15.1

Posted on Nov 27, 2024 7:18 PM

Reply
6 replies

Nov 29, 2024 4:17 PM in response to alfranco918

Without knowing the end-use case, I took a run at this, starting with Numbers' built-in BASETONUM() and NUMTOBASE() functions to convert between different base systems, but then it fell apart because you're not actually using base in a mathematical sense - for example, Decimal 20 would be 18 in base 12, but that's not what you want.


Additionally, bases have no inherent fraction/decimal component (as hinted by the name decimal).


So I took a step back... it sounds like what you want is primarily a functional display, right?


In that case your best bet may be to separate the input and display fields. I have a few ideas of how that might work, but my brain is hurting working in 'base 12', so can you give some examples of what you want to input and how you'd like to see it output?

Nov 29, 2024 6:18 PM in response to Camelot

Thank you for responding! I'd love to have someone else also working on this to see if we can find a solution!


Ah. No, I don't want to use BASETO. I've used that in various spreadsheets, and it slows down calculations once there is a regular amount of data in the spreadsheet. I'm using Cell/Data Format/Base: 12 So, the entire spreadsheet is set to duodecimal (which I call dozenal, because of the Dozenal Society of America).


I have several entire sheets properly calculating in duodecimal, and in most cases, whole numbers is fine for what I'm doing (a multiplication table, for example, always yields whole numbers). But for a division table, or when using ROOT and I want to use to the 0.6 power (I want the 0.6 to pull from a cell, so I can easily change the 0.6 to use any root), then I need to see the digits to the right of the separator point. I am calling it a "radix point" because technically "decimal point" is only valid when using base ten. So, whatever base one is using, the period (in the U.S.) is called a radix point, or a separation point, etc.


The so-called "fractional" part is because it is a fraction of one. In decimal, that would be the part to the right of the decimal point. If 0.5, then that is 1/2 of one. If 0.25, then that is 1/4 of one, et cetera. So, they are fractions of the whole number one.


I am mostly interested in the calculations. But, when the "decimal fraction" (really a dozenal fraction a.k.a. duodecimal fraction) to the right of the point is not zero, I really want to see it and not a rounded value. So, if we were using decimal, it would be 0.5, and I could set the decimal fraction part to two digits, and it would show 0.50. But, when using the "Numeral System" format, changing the "Places" doesn't change the fractional part (less than one), it changes how many whole number digits are shown. So, if the answer is 2, it will show 0002 if I choose 4 Places.


I am entering numbers directly into the Numbers spreadsheet cells. I'll enter 10 into a cell, then 5 into another cell, use a subtract formula, and it will yield 7. I will enter 9 in a cell, then 3 in another cell, and a formula calling and summing both cells will yield 10. Also, when I DO create formulas that I know will yield a fraction to the right of the separation point, it seems to correctly calculate, because it rounds (either up, or down), and does so correctly. I also just entered 0.6 (one half) into a cell, then below that entered 0.4, and then used a SUM formula in the cell below. It yields 1. Then I changed the 0.4 to 1.4, and it yields 2. Although I can't be certain just from that that it is not 0.9 and rounding to 1, then 2.4 and rounding to 2, I am all but certain that the values in the cells are correct. They are all less than one, because they are right of the "decimal point". So, 0.3 is 1/4, 0.4 is 1/3, 0.6 is 1/2, etc..


What is not working is that I can't see those "decimal" numbers. It always rounds, so I always see a whole number. And, I cannot figure out how to change that. It isn't being shown as an option where it normally would be for regular decimal spreadsheets...



Nov 30, 2024 9:25 AM in response to alfranco918

The BASETONUM and NUMTOBASE functions appear to either error out or truncate to only the integer part of non-integral numbers. Either way, they are not useful for calculations of non-integral numbers. The "numeral system" cell format is a display format that does not affect the value in the cell, just the way it is displayed. But it will display only the integer part of a number. It will round fractional numbers for display. Neither does quite what you want. If the result in the cell is not going to be used for further calculations, you could create a string of integer part & "." & fractional part but it will require using NUM2BASE twice in the formula along with some other math functions.

Nov 30, 2024 2:58 PM in response to Badunit

Thank you.


But, if I use NUM2BASE to add displayed decimals, that, too, will probably slow down the sheets once too much data is in.


Why in the world would Apple create a spreadsheet that doesn't display the fractional part of numbers? I sincerely do appreciate even having a spreadsheet that works properly when set to duodecimal. I'm thankful, and I'll use it as-is, and not worry about dozenal fractional displays. But, it would make sense if they eventually did display...

When using base 12 in Numbers, how to make Numbers DISPLAY two digits beyond the radix point?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.