mirror of https://gitlab.com/rnger/amath
Fixed localization bug
This commit is contained in:
parent
8624d62494
commit
5b851eee7c
|
@ -229,7 +229,7 @@ const char* PositionalNumeralSystem::GetText(double number)
|
|||
while (buf->RemoveTrailing('0'))
|
||||
;
|
||||
|
||||
buf->RemoveTrailing('.');
|
||||
buf->RemoveTrailing(fractionpoint);
|
||||
}
|
||||
|
||||
// Add exponent
|
||||
|
@ -446,7 +446,7 @@ const char* DecimalSystem::GetRealText(double value)
|
|||
buf->Append(out);
|
||||
while (buf->RemoveTrailing('0'))
|
||||
;
|
||||
buf->RemoveTrailing('.');
|
||||
buf->RemoveTrailing(fractionpoint);
|
||||
delete out;
|
||||
|
||||
return buf->GetString();
|
||||
|
|
Loading…
Reference in New Issue