mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Dots is not needed for base 10 negative numbers; fix #3400
This commit is contained in:
@@ -891,7 +891,7 @@ retry:
|
||||
}
|
||||
else {
|
||||
s = nbuf;
|
||||
if (v < 0) {
|
||||
if (base != 10 && v < 0) {
|
||||
dots = 1;
|
||||
}
|
||||
switch (base) {
|
||||
|
||||
Reference in New Issue
Block a user