Negative number representation
-
Does anyone know of any culture/language where the default negative number representation is not a minus sign preceding the number?
-
Does anyone know of any culture/language where the default negative number representation is not a minus sign preceding the number?
I think there must be some, since Windows locale information supports them. See http://msdn.microsoft.com/en-us/library/bb507201.aspx[^] and look at
LOCALE_INEGSIGNPOSN
andLOCALE_INEGNUMBER
. -
Does anyone know of any culture/language where the default negative number representation is not a minus sign preceding the number?
Not a culture/language as such, but I've seen financial documents (P&L accounts etc) where negative numbers are either indicated by being placed in brackets (and no minus sign), or with a minus sign after the number.
Simon
-
Not a culture/language as such, but I've seen financial documents (P&L accounts etc) where negative numbers are either indicated by being placed in brackets (and no minus sign), or with a minus sign after the number.
Simon
-
Simon Stevens wrote:
negative numbers are either indicated by being placed in brackets (and no minus sign),
Or in RED :)
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)leppie wrote:
Or in RED
Well they might have been, but we didn't have colour printers :laugh:
Simon
-
Does anyone know of any culture/language where the default negative number representation is not a minus sign preceding the number?
When you say "number", you may automatically imply the Arabic numbers: 1, 2, 3... In other cultures, numbers are not expressed like this. Therefore, minus sign is not applicable. For Arabic numbers, in accounting, the negative numbers may be shown in red or in perentices without a minus sign.
TOMZ_KV
-
Does anyone know of any culture/language where the default negative number representation is not a minus sign preceding the number?
-
Does anyone know of any culture/language where the default negative number representation is not a minus sign preceding the number?
Yes, the U.S., Canada, Great Britain, any country with accountants working in them. Accountants and accounting apps commonly display negative numbers like this ($5.50).
"It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson
-
Does anyone know of any culture/language where the default negative number representation is not a minus sign preceding the number?
To ensure backward compatibility with VisiCalc you'll need to have the option to display negative amounts with the minus sign following the number. Of course, you'll also need to make your app run on CP/M. ;)
"A Journey of a Thousand Rest Stops Begins with a Single Movement"