When the environment variable LANG is unset or invalid, the program fails. If LANG is set to a languagage that doesn't use a decimal point (for instance nl_NL.utf8), the output is invalid.