Pretty printer correctly prints negative floats

When float number is something like -5 pretty printer produces -5.0 instead of -5