mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-20 15:25:01 +00:00
Style fix.
This commit is contained in:
1 parent
6ac804d37c
commit
bd02ec057c
1 file changed
+2
-2
@@ -77,7 +77,7 @@ CPNumberFormatterRoundHalfUp = CPRoundPlain;
|
||||
- (CPString)stringFromNumber:(CPNumber)number
|
||||
{
|
||||
// TODO Add locale support.
|
||||
switch(_numberStyle)
|
||||
switch (_numberStyle)
|
||||
{
|
||||
case CPNumberFormatterDecimalStyle:
|
||||
UPDATE_NUMBER_HANDLER_IF_NECESSARY();
|
||||
@@ -96,7 +96,7 @@ CPNumberFormatterRoundHalfUp = CPRoundPlain;
|
||||
// TODO This is just a temporary solution. Should be generalised.
|
||||
// Add in thousands separators.
|
||||
if (perMillSymbol)
|
||||
while(commaPosition < [preFraction length])
|
||||
while (commaPosition < [preFraction length])
|
||||
{
|
||||
preFraction = [preFraction stringByReplacingCharactersInRange:CPMakeRange(commaPosition, 0) withString:perMillSymbol];
|
||||
commaPosition += 4;
|
||||
|
||||
Reference in new issue
Block a user