Fixing numbers in legend to be more precise