Add a formatValue function that formats a real value based on the specified display mode setting.   The value is correctly rounded before conversion to a string.
Update checksum for 1.1.23 version.