add LC_ALL=C – should solve "bash: printf: 2.091: invalid number" on non-decimal-point locales
LC_LANG should be LANG
Use grep instead of cut