truncate extra digits on doubles