Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how can i work out say 5% of 383.04

I am trying to work out a percentage of a number. Say for eg cell A1 is 5% and cell A2 is 383,04. The cell gives me an error - a red triangle saying "the operator * expects a number, but cell A2 contains a string. I changed the comma for a fullstop on 383.04 and it gave me the correct answer. What i wanted to know is how can i customise the 383.04 cell so that it also accepts a comma for the calculation - 383,04. Thanks!!!

MacBook Pro

Posted on Apr 18, 2013 5:55 AM

Reply
4 replies

Apr 18, 2013 7:52 AM in response to LavinaL

LavinaL wrote:


I am trying to work out a percentage of a number. Say for eg cell A1 is 5% and cell A2 is 383,04. The cell gives me an error - a red triangle saying "the operator * expects a number, but cell A2 contains a string. I changed the comma for a fullstop on 383.04 and it gave me the correct answer. What i wanted to know is how can i customise the 383.04 cell so that it also accepts a comma for the calculation - 383,04. Thanks!!!

Lavina,


The decimal separator depends on your system language choice, or your application language choice if you are using Language Switcher. It's not something that is optional within the normal programming parameters. If this issue is critical to your document, it could be accomodated with an expression in the result cell.


How big a deal is this for you?


Here's an example on a system expecting a period for a decimal separator.


User uploaded file


To go the other way, you would exchange the comma and the period in the illustrated formula. As written, the result will calculate with either decimal seaprator.


Jerry

how can i work out say 5% of 383.04

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