implemented support for -p --precision option